提交 d85e18e6 编写于 作者: M Michael Niedermayer 提交者: Anton Khirnov

yadif: Fix assert() failure

Signed-off-by: NAnton Khirnov <anton@khirnov.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册