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

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jan 17 19:14:55 CET 2016

Marton Balint <cus <at> passwd.hu> writes:

> The current default pattern type, glob_sequence is 
> deprecated for almost 3.5 years, 

Sorry if I misunderstand: When was it deprecated?

> 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,

Is the current default a security risk or would 
another default be?

> and can also cause problems for file names which 
> are patterns by themselves.

I apparently don't understand why this patch is 
necessary but it certainly will make many users 

Carl Eugen

More information about the ffmpeg-devel mailing list