Reject slices that does not have the same type than the first one in RV10/RV20 decoder.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Sep 2011 22:17:44 +0000 (00:17 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 18:56:53 +0000 (20:56 +0200)
commitb59919afe2b6caad1ddcbbb71bdcf5a8750b8c71
tree55e46dcc596d840de00022ff5de9be80815fc892
parent764ffdd0ec069cd648fd069d6de233519a65d49e
Reject slices that does not have the same type than the first one in RV10/RV20 decoder.

This prevents crashes with some corrupted bitstreams.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d788af6cf696d547a442c47e1ce6f93bc9fc97b6)
libavcodec/rv10.c