asv1dec: check extradatasize before reading.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 10:16:29 +0000 (12:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Apr 2012 10:16:29 +0000 (12:16 +0200)
commit605f2b6b004eee4dc57832257169ff8eaa562fb7
tree2ce969e474690a5628362fbd2b61514b0523d786
parentfa5dacce143f3fbe8eac14d5a99e926b2787e9e6
asv1dec: check extradatasize before reading.

Fixes null ptr dereference

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