X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fproresdec_lgpl.c;h=c86d433f5072880cc9b0448ffd5d71caf0004782;hb=cfff6d1f777cdf4ddd5004b29e13ac33d22341f5;hp=bc5bdb5a4d5ee129bb0222bf2285a5013b6aa691;hpb=4aefe010e30861eb8cbe04aa47223bf64d207dce;p=ffmpeg diff --git a/libavcodec/proresdec_lgpl.c b/libavcodec/proresdec_lgpl.c index bc5bdb5a4d5..c86d433f507 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;