avformat/xmv: Discard remainder of packet on error
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Nov 2015 01:13:36 +0000 (02:13 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 19 Nov 2015 02:51:39 +0000 (03:51 +0100)
commit36b65f1c50f47e95aaaac21da9b772068a0e2b06
tree921ae35e09069bd930a86054e2f66abf4c27fdd9
parent0b3b993bae22dc83a5b77774cba7b7b5eb30cbb7
avformat/xmv: Discard remainder of packet on error

Fixes infinite loop
Fixes: 9c48ae2680c5f23bca3d20ff0f325fd8/asan_generic_4c254d_1374_993f1e5967dd6f844b8d72f978ce2a6c.pss

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 79c4a338e4b2bf0bc6f81c9f455994f673a92f78)

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