xmvdemux: dont let current_stream become invalid.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Apr 2012 17:41:54 +0000 (19:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 5 May 2012 22:53:02 +0000 (00:53 +0200)
commita4846943a3566723976ecd67a57f381b76e80e29
tree1d1187cadd03ed9269319f60a99a913a87ae6a05
parentbf2534a5e2d57498dc663b1f49f85521e5ab9235
xmvdemux: dont let current_stream become invalid.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 13381577d181fa732d6d2fa0491fa2ff50186546)
libavformat/xmv.c