On 27/09/2017 23:28, Vittorio Giovara wrote:
As defined by the spcifications
specification
---
libavcodec/proresdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c
index bc5bdb5a4d..c86d433f50 100644
--- a/libavcodec/proresdec.c
+++ b/libavcodec/proresdec.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;
And OK.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel