Skip to content
Snippets Groups Projects
Commit df288605 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed undefined variable error when using avconv

parent 4b5083e3
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment