Commit 27eeee76 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Vittorio Giovara

mpegvideo_enc: Merge ifs with identical conditions

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f0a88d4d
......@@ -997,9 +997,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg)
pts = display_picture_number;
}
}
}
if (pic_arg) {
if (!pic_arg->buf[0] ||
pic_arg->linesize[0] != s->linesize ||
pic_arg->linesize[1] != s->uvlinesize ||
......
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