mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Check for missing reference in vp5/6 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b64269ce55
commit
6a0e78929a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user