vf_interlace: also assert for height

This commit is contained in:
Vittorio Giovara 2014-12-02 14:58:39 +00:00
parent 696141e898
commit 046f75a970
1 changed files with 1 additions and 1 deletions

View File

@ -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)