forked from FFmpeg/FFmpeg
yadif: Fix assert() failure
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
f80b381bfd
commit
d85e18e6e3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue