summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-09-27 17:28:55 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-11-28 14:56:51 -0500
commit45d7be7f930cf707ead07416e10e2d0e061e99ce (patch)
treed81ddff8ac899b1b957f80ee44309134e8252f2f /libavcodec
parentb843b343d8a3210ae37a2342b1904a5bd1e5fc6e (diff)
prores: Always assume limited range
As defined by the specification.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/proresdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index 8a53719d9f..1659927e66 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.c
@@ -176,6 +176,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;