提交 046f75a9 编写于 作者: V Vittorio Giovara

vf_interlace: also assert for height

上级 696141e8
......@@ -141,7 +141,7 @@ static void copy_picture_field(InterlaceContext *s,
uint8_t *dstp = dst_frame->data[plane];
const uint8_t *srcp = src_frame->data[plane];
av_assert0(cols >= 0);
av_assert0(cols >= 0 || lines >= 0);
lines = (lines + (field_type == FIELD_UPPER)) / 2;
if (field_type == FIELD_LOWER)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册