cavsdec: Fix assertion failure.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Sep 2012 21:28:48 +0000 (23:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Sep 2012 01:02:51 +0000 (03:02 +0200)
commit7ea5dbcb83a502d8152d5c64d32f9a16e7e907c7
tree6d18931d981f47fdcada02e14766b9fd26c1ce8e
parent00d516454c77a77d11c97099cba069030d82a7cb
cavsdec: Fix assertion failure.

The assert in decode_mb_b() is replaced by a normal error check for the
case that can occur with a damaged or crafted bitstream.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cavsdec.c