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)
committerMartin Storsjö <martin@martin.st>
Mon, 19 Sep 2011 11:58:33 +0000 (14:58 +0300)
commit4a29b471869353c3077fb4b25b6518eb1047afb7
treeb439fed3127bc2ab2a009a8cf9deeea80e709a8f
parentab09df9deae8be0e3346e9255a80d616517c32d5
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