avformat/img2dec: do not interpret the filename by default if a IO context has been...
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Jan 2016 10:21:44 +0000 (11:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:23:45 +0000 (00:23 +0100)
commit4180a83892b498ecd6e42cfc2c330e2684d2b817
treeeb10fa3af2e3c6d0f6554b7a668705ebb4c586cd
parent6fabd858659994b98589bfaf42f700e1c5b85da8
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>
(cherry picked from commit 7ccedc1c78c9a5140758f515d46ce23de6e6a7d2)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/img2.h
libavformat/img2dec.c