Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-12-02 17:58:39 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-01-05 17:35:46 +0300
commit046f75a970701b4c947d38bfd2186dcc5f2ddae2 (patch)
treeeafc37721bb231b299cee2548b225b899a8cdbdb /libavfilter
parent696141e898193311c994b399a8dc60713709092f (diff)
vf_interlace: also assert for height
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_interlace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c
index 3e2a044ca0..0b2444c188 100644
--- a/libavfilter/vf_interlace.c
+++ b/libavfilter/vf_interlace.c
@@ -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)