rv10: Reject slices that does not have the same type as the first one
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Sep 2011 22:03:08 +0000 (00:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 19:03:11 +0000 (21:03 +0200)
commit738c17b3a657b2017875c5b3ff9336944e4a8f22
treeb16f2606f67a1982f0bbc564c862eee9fd333220
parent27128d82faf17cbf476cf5f750722612639bdcd7
rv10: Reject slices that does not have the same type as the first one

This prevents crashes with some corrupted bitstreams.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/rv10.c