tm2dec: check total_frames and extradata_size.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Mar 2012 06:05:11 +0000 (08:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Mar 2012 06:24:31 +0000 (08:24 +0200)
commit936951ca5c46afe91d4efb6ce7e2759424bbe143
tree7e5c9b6809ff7fc22b10ee8d248b26ca598dc041
parentb17b2963692f5f7c19a2188e61922e00680c5fb4
tm2dec: check total_frames and extradata_size.

Fixes overread

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/tta.c