You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/mpegvideo_enc: Merge ifs with identical conditions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1157,9 +1157,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg)
|
|||||||
pts = display_picture_number;
|
pts = display_picture_number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (pic_arg) {
|
|
||||||
if (!pic_arg->buf[0] ||
|
if (!pic_arg->buf[0] ||
|
||||||
pic_arg->linesize[0] != s->linesize ||
|
pic_arg->linesize[0] != s->linesize ||
|
||||||
pic_arg->linesize[1] != s->uvlinesize ||
|
pic_arg->linesize[1] != s->uvlinesize ||
|
||||||
|
Reference in New Issue
Block a user