Commit d85e18e6 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Anton Khirnov

yadif: Fix assert() failure

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent f80b381b
......@@ -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);
}
......
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