On Wed, 12 Mar 2014 15:30:48 +0100, Vittorio Giovara <[email protected]> wrote: > --- > libavcodec/mpegvideo_enc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c > index 091bee3..beb0067 100644 > --- a/libavcodec/mpegvideo_enc.c > +++ b/libavcodec/mpegvideo_enc.c > @@ -243,8 +243,9 @@ av_cold int ff_MPV_encode_init(AVCodecContext *avctx) > case AV_CODEC_ID_MJPEG: > if (avctx->pix_fmt != AV_PIX_FMT_YUVJ420P && > avctx->pix_fmt != AV_PIX_FMT_YUVJ422P && > - ((avctx->pix_fmt != AV_PIX_FMT_YUV420P && > - avctx->pix_fmt != AV_PIX_FMT_YUV422P) || > + ((avctx->pix_fmt == AV_PIX_FMT_YUV420P ||
This looks very different from what was there before. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
