diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-20 11:21:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-20 17:31:01 +0100 |
commit | 7ccedc1c78c9a5140758f515d46ce23de6e6a7d2 (patch) | |
tree | 1f4c3e6a03d07c96d220155766b57f8ef07843d8 /libavformat/img2.h | |
parent | 7d1e985528886139ea00387ad34c75cfab018d48 (diff) | |
download | ffmpeg-7ccedc1c78c9a5140758f515d46ce23de6e6a7d2.tar.gz |
avformat/img2dec: do not interpret the filename by default if a IO context has been opened
With this, user applications which use custom IO and have set a IO context will not have
their already opened IO context ignored and glob/seq being interpreted
Comments and tests from maintainers of user apps are welcome!
Liked-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/img2.h')
-rw-r--r-- | libavformat/img2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/img2.h b/libavformat/img2.h index deebcc34a7..0e5b374a6b 100644 --- a/libavformat/img2.h +++ b/libavformat/img2.h @@ -34,7 +34,8 @@ enum PatternType { PT_GLOB_SEQUENCE, PT_GLOB, PT_SEQUENCE, - PT_NONE + PT_NONE, + PT_DEFAULT }; typedef struct VideoDemuxData { |