From: Glandos Date: Thu, 16 Feb 2023 09:10:12 +0000 (+0100) Subject: fix indent 2 X-Git-Tag: v27.0.0beta1~385^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bea7af7b7842af207ec973e83b5d87079c617af;p=nextcloud-server.git fix indent 2 Signed-off-by: Glandos --- 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) {