Browse Source

avcodec/mpegvideo_enc: Merge ifs with identical conditions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
fd46d6deac
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/mpegvideo_enc.c

+ 0
- 2
libavcodec/mpegvideo_enc.c View File

@@ -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 ||


Loading…
Cancel
Save