ffmpeg | branch: master | Vittorio Giovara <vittorio.giov...@gmail.com> | Wed 
Sep 27 15:52:52 2017 -0400| [755207dc53d6d18a4a9e07ffb0d3a10f75836f79] | 
committer: Vittorio Giovara

prores: Always assume limited range

As defined by the specification.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=755207dc53d6d18a4a9e07ffb0d3a10f75836f79
---

 libavcodec/proresdec_lgpl.c | 1 +
 1 file changed, 1 insertion(+)

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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to