Commit 82b1bcd7 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '15ea2227'

* commit '15ea2227':
  vf_interlace: merge FIELD_LOWER check
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 6279cb35 15ea2227
......@@ -145,10 +145,10 @@ static void copy_picture_field(InterlaceContext *s,
av_assert0(cols >= 0 || lines >= 0);
lines = (lines + (field_type == FIELD_UPPER)) / 2;
if (field_type == FIELD_LOWER)
if (field_type == FIELD_LOWER) {
srcp += src_frame->linesize[plane];
if (field_type == FIELD_LOWER)
dstp += dst_frame->linesize[plane];
}
if (lowpass) {
int srcp_linesize = src_frame->linesize[plane] * 2;
int dstp_linesize = dst_frame->linesize[plane] * 2;
......
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