summaryrefslogtreecommitdiffstats
path: root/libavcodec/utvideodec.c
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/utvideodec.c
parent990860736328b1b89ac922aa04bda00980762092 (diff)
downloadffmpeg-streaming-e473f7e6595d2787919bf6e7b5bfdd25fa636ce6.zip
ffmpeg-streaming-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/utvideodec.c')
-rw-r--r--libavcodec/utvideodec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 308cb69..8be1cc9 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -517,13 +517,11 @@ static av_cold int decode_init(AVCodecContext *avctx)
case MKTAG('U', 'L', 'H', '0'):
c->planes = 3;
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
- avctx->color_primaries = AVCOL_PRI_BT709;
avctx->colorspace = AVCOL_SPC_BT709;
break;
case MKTAG('U', 'L', 'H', '2'):
c->planes = 3;
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
- avctx->color_primaries = AVCOL_PRI_BT709;
avctx->colorspace = AVCOL_SPC_BT709;
break;
default:
OpenPOWER on IntegriCloud