avformat/img2dec: Skip checking the input files existence if it has already been...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 26 Dec 2015 17:57:09 +0000 (18:57 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 26 Dec 2015 19:21:52 +0000 (20:21 +0100)
commite9e87822022fc81f92866f870ecedfd2f6272ac9
tree46501944e40aac94bc170b2a3188c0872df65a26
parentf16e4a0857e368a4828cd1fbfda7f44cbbf83f06
avformat/img2dec: Skip checking the input files existence if it has already been opened

Avoids a unneeded open
Fixes part of Ticket4849

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