mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
yadif:Fix assert() failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c4804feca2
commit
679191a5df
@ -274,7 +274,7 @@ static int poll_frame(AVFilterLink *link)
|
||||
return ret;
|
||||
val = avfilter_poll_frame(link->src->inputs[0]);
|
||||
}
|
||||
assert(yadif->next);
|
||||
assert(yadif->next || !val);
|
||||
|
||||
return val * ((yadif->mode&1)+1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user