OSDN Git Service

avcodec/mpegvideo: fix ac/dc_val and coded_block table sizes
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Jan 2014 19:20:12 +0000 (20:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Jan 2014 19:35:55 +0000 (20:35 +0100)
commit950fb8acb42f4dab9b1638721992991c0584dbf5
tree7689efaaacce862e76f74d6417cbe7eefef7902a
parent9c5260e73a7a59fa49cea60a5c041be1a9485385
avcodec/mpegvideo: fix ac/dc_val and coded_block table sizes

With interlaced vc1 it was possible that accesses could happen outside these
tables before this.

Regression since 017e234c204f8ffb5f85a073231247881be1ac6f
Reproduced with a sample from Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Fixes (again) : 480i30__codec_WVC1__mode_2__framerate_29.970__type_2__preproc_17.SIGFPE.bfa.390.wmv
No releases are affected by this

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