flashv: check if keyframe is available, fix null deref.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 23:21:59 +0000 (00:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 23:22:24 +0000 (00:22 +0100)
commite9cb533fbb90c274cfed07b69ebf5c1989573e20
tree0b34fb1b707088383e7153ee11d0fc18a931cd69
parent4b2f696d6e502c46e91dfe184c7b745f78b35a03
flashv: check if keyframe is available, fix null deref.

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