• Alexander Strasser's avatar
    img2dec: Recognize glob meta chars only if prefixed by % · 3e1ff8eb
    Alexander Strasser authored
      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: 's avatarAlexander Strasser <eclipse7@gmx.net>
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    3e1ff8eb
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
mt-work Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...