aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-09 05:16:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-09 05:28:10 +0200
commitf9a13174794a28d1c5a81611552212185b2b488d (patch)
tree17bcb616b16c1c2c261d027b89a74bb4901b79ce /libavcodec/utils.c
parentcf7b90dea21987254ad345db5adc1192e66009e4 (diff)
downloadffmpeg-f9a13174794a28d1c5a81611552212185b2b488d.tar.gz
avcodec/utils: Add missing AV_PIX_FMT_YUVJ411P to color_range override code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 9dc1c11c35..50fcf6fa4c 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)