mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 21:03:00 -04:00
Fixed undefined variable error when using avconv
This commit is contained in:
parent
4b5083e3ca
commit
df288605d4
1 changed files with 2 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue