summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-09-27 15:52:52 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-11-28 12:40:40 -0500
commit755207dc53d6d18a4a9e07ffb0d3a10f75836f79 (patch)
treefbc9e804860704a5f083f775f7b76bd1681ff784
parentb5d56d8ef1ef17487d827f1e35d02501f55218de (diff)
prores: Always assume limited range
As defined by the specification.
-rw-r--r--libavcodec/proresdec_lgpl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/proresdec_lgpl.c b/libavcodec/proresdec_lgpl.c
index bc5bdb5a4d..c86d433f50 100644
--- a/libavcodec/proresdec_lgpl.c
+++ b/libavcodec/proresdec_lgpl.c
@@ -177,6 +177,7 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
avctx->color_primaries = buf[14];
avctx->color_trc = buf[15];
avctx->colorspace = buf[16];
+ avctx->color_range = AVCOL_RANGE_MPEG;
ctx->qmat_changed = 0;
ptr = buf + 20;