summaryrefslogtreecommitdiff
path: root/libavcodec/libutvideodec.cpp
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-10 16:00:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-10 16:00:59 +0200
commite473f7e6595d2787919bf6e7b5bfdd25fa636ce6 (patch)
tree72f27b1e443d2dcf0f57b5879ce281e00b95522b /libavcodec/libutvideodec.cpp
parent990860736328b1b89ac922aa04bda00980762092 (diff)
downloadffmpeg-e473f7e6595d2787919bf6e7b5bfdd25fa636ce6.tar.gz
(lib)utvideodec: remove setting of color_primaries
Thanks-to: Paranoialmaniac Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libutvideodec.cpp')
-rw-r--r--libavcodec/libutvideodec.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp
index eadf4a145d..0fae9f78f4 100644
--- a/libavcodec/libutvideodec.cpp
+++ b/libavcodec/libutvideodec.cpp
@@ -55,13 +55,11 @@ static av_cold int utvideo_decode_init(AVCodecContext *avctx)
#ifdef UTV_BT709
case MKTAG('U', 'L', 'H', '0'):
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
- avctx->color_primaries = AVCOL_PRI_BT709;
avctx->colorspace = AVCOL_SPC_BT709;
format = UTVF_YV12;
break;
case MKTAG('U', 'L', 'H', '2'):
avctx->pix_fmt = AV_PIX_FMT_YUYV422;
- avctx->color_primaries = AVCOL_PRI_BT709;
avctx->colorspace = AVCOL_SPC_BT709;
format = UTVF_YUY2;
break;