diff --git a/lib/private/preview/movies.php b/lib/private/preview/movies.php index 3ba3bdf120e6f03fe094ad657be5084067ce7053..7c9f009a9c68a70d8d0bda623c04a282db8dc304 100644 --- a/lib/private/preview/movies.php +++ b/lib/private/preview/movies.php @@ -19,6 +19,8 @@ function findBinaryPath($program) { // movie preview is currently not supported on Windows if (!\OC_Util::runningOnWindows()) { $isExecEnabled = !in_array('exec', explode(', ', ini_get('disable_functions'))); + $ffmpegBinary = null; + $avconvBinary = null; if ($isExecEnabled) { $avconvBinary = findBinaryPath('avconv');