flashsv2_prime: check block before using it.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Dec 2012 23:19:20 +0000 (00:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Dec 2012 23:19:52 +0000 (00:19 +0100)
commitb6671787db5b5d53e065f88e52a35d94cb50504c
tree82307dcc54a9a6265239d4757209f1d64eac5601
parent02d6d053396626ff5b3390e48a9933e0d4164b28
flashsv2_prime: check block before using it.

Fixes null pointer dereference

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