avformat/img2dec: do not rewind custom io buffers
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Apr 2015 21:59:53 +0000 (23:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Apr 2015 13:06:53 +0000 (15:06 +0200)
commit8c832e3cc05c4590054cf49630b2f026eec4c734
tree8daabd4a351317007e0bdb385ffdbadb6cdfe852
parent0014b243733d4860cc01c2f7e7943f4c171fae9c
avformat/img2dec: do not rewind custom io buffers

Fixes double free with some applications

Fixes vlc ticket14121
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e6e8cc8ce9c2a398fbb51254a5067f4bd3c4fa8a)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/img2dec.c