aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2023-02-16 10:10:12 +0100
committerGitHub <noreply@github.com>2023-02-16 10:10:12 +0100
commit3bea7af7b7842af207ec973e83b5d87079c617af (patch)
tree9a428694b9d8f44a2c2d457e2ae80aef802204d5 /lib/private
parent59e7ed1fad8ce97c0216524b182a4a98d814be20 (diff)
downloadnextcloud-server-3bea7af7b7842af207ec973e83b5d87079c617af.tar.gz
nextcloud-server-3bea7af7b7842af207ec973e83b5d87079c617af.zip
fix indent 2
Signed-off-by: Glandos <bugs-github@antipoul.fr>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Preview/Movie.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/Preview/Movie.php b/lib/private/Preview/Movie.php
index b5842d11dd5..13d868cd583 100644
--- a/lib/private/Preview/Movie.php
+++ b/lib/private/Preview/Movie.php
@@ -126,9 +126,9 @@ class Movie extends ProviderV2 {
if ($binaryType === 'avconv') {
$cmd = [$this->binary, '-y', '-ss', (string)$second,
- '-i', $absPath,
- '-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1',
- $tmpPath];
+ '-i', $absPath,
+ '-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1',
+ $tmpPath];
} elseif ($binaryType === 'ffmpeg') {
$cmd = [$this->binary, '-y', '-ss', (string)$second,
'-i', $absPath,
@@ -144,10 +144,10 @@ class Movie extends ProviderV2 {
$returnCode = -1;
$output = "";
if (is_resource($proc)) {
- $stdout = trim(stream_get_contents($pipes[1]));
- $stderr = trim(stream_get_contents($pipes[2]));
- $returnCode = proc_close($proc);
- $output = $stdout . $stderr;
+ $stdout = trim(stream_get_contents($pipes[1]));
+ $stderr = trim(stream_get_contents($pipes[2]));
+ $returnCode = proc_close($proc);
+ $output = $stdout . $stderr;
}
if ($returnCode === 0) {