diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2012-03-11 15:24:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-30 00:04:16 +0200 |
commit | 3e1ff8eb27e547c330af72ec87ca75a951d64c24 (patch) | |
tree | a9ea493ac99464c0a1846319666677ee1123f500 /libavformat/hlsproto.c | |
parent | 0be130e37bfafd6022edd27833f04a0b6cee2f02 (diff) | |
download | ffmpeg-3e1ff8eb27e547c330af72ec87ca75a951d64c24.tar.gz |
img2dec: Recognize glob meta chars only if prefixed by %
This changes globbing support to only be used if the character
contains at least one glob meta character that is preceded by
an unescaped %. To escape a literal % one would use %% which is
identical to the way to match a % with image2 sequence generation
feature.
* Makes it possible to have patterns like %04d-[720p].jpg work
again with sequence number generation. Previously this would
always be detected as a glob pattern and was interpreted by
the image2 glob code instead.
* Makes it possible to use %*-[720p].jpg to match above pattern
without having to double escape it to be not interpreted by most
shells and not by the image2 glob code (previously one would
need to use \*-\\\[720p\\\].jpg to achieve the same)
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hlsproto.c')
0 files changed, 0 insertions, 0 deletions