tm2: Check remaining size before init_get_bits()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Dec 2011 15:53:56 +0000 (16:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Dec 2011 15:53:56 +0000 (16:53 +0100)
commit65f0f9183b99881af58e90e3ae2ad8b0181d52f1
tree03848d2f06e4ce14ef28b6474b64f8c648adc503
parent3c7f75bd84b4c30a0f86a491a37f759dfaaab86d
tm2: Check remaining size before init_get_bits()
Fixes a null pointer dereference.
Fixes 2nd half of Ticket800
Bug found by: Oana Stratulat

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