a stricter check for webm processing
This commit is contained in:
parent
ea5ad66a19
commit
ccd00c497c
@ -45,6 +45,8 @@ function make_webm_thumbnail($filename, $thumbnail, $width, $height, $duration)
|
|||||||
$filename = escapeshellarg($filename);
|
$filename = escapeshellarg($filename);
|
||||||
$thumbnailfc = escapeshellarg($thumbnail); // Should be safe by default but you
|
$thumbnailfc = escapeshellarg($thumbnail); // Should be safe by default but you
|
||||||
// can never be too safe.
|
// can never be too safe.
|
||||||
|
$width = escapeshellarg($width);
|
||||||
|
$height = escapeshellarg($height); // Same as above.
|
||||||
$ffmpeg = $config['webm']['ffmpeg_path'];
|
$ffmpeg = $config['webm']['ffmpeg_path'];
|
||||||
$ret = 0;
|
$ret = 0;
|
||||||
$ffmpeg_out = array();
|
$ffmpeg_out = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user