You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vp56: Check for missing reference frame data
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
committed by
Janne Grunau
parent
d239d4b447
commit
0ec6d6e9b6
@@ -401,6 +401,8 @@ static void vp56_decode_mb(VP56Context *s, int row, int col, int is_alpha)
|
|||||||
|
|
||||||
frame_current = s->framep[VP56_FRAME_CURRENT];
|
frame_current = s->framep[VP56_FRAME_CURRENT];
|
||||||
frame_ref = s->framep[ref_frame];
|
frame_ref = s->framep[ref_frame];
|
||||||
|
if (mb_type != VP56_MB_INTRA && !frame_ref->data[0])
|
||||||
|
return;
|
||||||
|
|
||||||
ab = 6*is_alpha;
|
ab = 6*is_alpha;
|
||||||
b_max = 6 - 2*is_alpha;
|
b_max = 6 - 2*is_alpha;
|
||||||
|
Reference in New Issue
Block a user