Skip to content

Commit

Permalink
concat allow special chars in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandstarke committed Oct 3, 2018
1 parent a8d527a commit 0ee2a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FFMpeg/Media/Concat.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function saveFromSameCodecs($outputPathfile, $streamCopy = TRUE)
if($count_videos != 0)
$line .= "\n";

$line .= "file ".$videoPath;
$line .= "file " . addcslashes($videoPath, '\'"\\\0 ');

fwrite($fileStream, $line);

Expand Down

0 comments on commit 0ee2a63

Please sign in to comment.