avcodec/utils: Add missing AV_PIX_FMT_YUVJ411P to color_range override code.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Oct 2014 03:16:45 +0000 (05:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Oct 2014 03:28:10 +0000 (05:28 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index 9dc1c11..50fcf6f 100644 (file)
@@ -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)