[FFmpeg-devel] [PATCH] lavf/img2dec: change the default pattern to none

wm4 nfxjfg at googlemail.com
Sat Jan 16 22:34:54 CET 2016


On Sat, 16 Jan 2016 21:42:48 +0100
Marton Balint <cus at passwd.hu> wrote:

> The current default pattern type, glob_sequence is deprecated for almost 3.5
> years, before removing it, we need a new, sensible pattern default. I suggest
> "none" which turns off pattern matching, because using the filename as a
> pattern can be a security risk exposing other files in the source directory,
> and can also cause problems for file names which are patterns by themselves.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>

I'm very much in favor of this, but doesn't it break compatibility big
time?

Also, if we break this, maybe this should be reimplemented as protocol
prefix? So you would use e.g. "ffmpeg -i pattern:%02d.jpg".


More information about the ffmpeg-devel mailing list