[Pkg-owncloud-commits] [owncloud] 05/111: Fixed undefined variable error when using avconv
David Prévot
taffit at moszumanska.debian.org
Wed Nov 20 21:38:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit df288605d4b9bf6996830df981a52b0058b95a24
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Sun Nov 10 11:46:46 2013 +0100
Fixed undefined variable error when using avconv
---
lib/private/preview/movies.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/preview/movies.php b/lib/private/preview/movies.php
index 3ba3bdf..7c9f009 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');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list