Commit 0ec6d6e9 authored by Laurent Aimar's avatar Laurent Aimar Committed by Janne Grunau

vp56: Check for missing reference frame data

Signed-off-by: 's avatarJanne Grunau <janne-libav@jannau.net>
parent d239d4b4
......@@ -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_ref = s->framep[ref_frame];
if (mb_type != VP56_MB_INTRA && !frame_ref->data[0])
return;
ab = 6*is_alpha;
b_max = 6 - 2*is_alpha;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment