[FFmpeg-cvslog] avcodec/utils: Add missing AV_PIX_FMT_YUVJ411P to color_range override code.

Michael Niedermayer git at videolan.org
Thu Oct 9 05:42:02 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct  9 05:16:45 2014 +0200| [f9a13174794a28d1c5a81611552212185b2b488d] | committer: Michael Niedermayer

avcodec/utils: Add missing AV_PIX_FMT_YUVJ411P to color_range override code.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f9a13174794a28d1c5a81611552212185b2b488d
---

 libavcodec/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 9dc1c11..50fcf6f 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1531,6 +1531,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
                 goto free_and_end;
             }
             if (avctx->codec->pix_fmts[i] == AV_PIX_FMT_YUVJ420P ||
+                avctx->codec->pix_fmts[i] == AV_PIX_FMT_YUVJ411P ||
                 avctx->codec->pix_fmts[i] == AV_PIX_FMT_YUVJ422P ||
                 avctx->codec->pix_fmts[i] == AV_PIX_FMT_YUVJ440P ||
                 avctx->codec->pix_fmts[i] == AV_PIX_FMT_YUVJ444P)



More information about the ffmpeg-cvslog mailing list