Commit fd46d6de authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpegvideo_enc: Merge ifs with identical conditions

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent b379e1d6
......@@ -1157,9 +1157,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