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>
Thu, 28 Jan 2016 14:53:54 +0000 (15:53 +0100)
commitd64ff3a6a961c40255e412691c33d4fc7e44cad6
tree6e28d89ff385084dbc49c53fc82ab7f493056336
parentc6f6829ce6e0e3dd7d5d6f084bc8437e84ec7ee5
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