Commit 6279cb35 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '046f75a9'

* commit '046f75a9':
  vf_interlace: also assert for height
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents ac3f6429 046f75a9
......@@ -142,7 +142,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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment