diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-07 01:40:11 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-07 01:40:16 +0300 |
commit | 6279cb3597cc1c70638857a4940aa6a9da9a91c5 (patch) | |
tree | f6fa045f3a8f7e6981131ca143397ef2231a0f9d /libavfilter/vf_interlace.c | |
parent | ac3f6429ba5b596406da12746659f1fb7c5b7b07 (diff) | |
parent | 046f75a970701b4c947d38bfd2186dcc5f2ddae2 (diff) |
Merge commit '046f75a970701b4c947d38bfd2186dcc5f2ddae2'
* commit '046f75a970701b4c947d38bfd2186dcc5f2ddae2':
vf_interlace: also assert for height
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_interlace.c')
-rw-r--r-- | libavfilter/vf_interlace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c index 8e3c069fa3..a97c64c212 100644 --- a/libavfilter/vf_interlace.c +++ b/libavfilter/vf_interlace.c @@ -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) |