Commit 679191a5 authored by Michael Niedermayer's avatar Michael Niedermayer

yadif:Fix assert() failure

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c4804fec
......@@ -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