summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddec.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-09-25 23:25:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-26 01:07:40 +0200
commite19ea0218aeec60d5dc2c55b6db310242b7757e7 (patch)
tree8a04382b2f45e9a4f85f06bba2ce8650b995dc59 /libavcodec/dnxhddec.c
parentaff3acc54c079c2e5720dae150b0d963fd8a9ab0 (diff)
downloadffmpeg-e19ea0218aeec60d5dc2c55b6db310242b7757e7.tar.gz
dnxhddec: indicate colorspace
It is supposed to only old BT.709 colorspaces. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r--libavcodec/dnxhddec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 4a42360388..044e4798b7 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -73,6 +73,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
ctx->avctx = avctx;
ctx->cid = -1;
+ avctx->colorspace = AVCOL_SPC_BT709;
return 0;
}