prores: Always assume limited range

As defined by the specification.
pull/272/head
Vittorio Giovara 7 years ago
parent b5d56d8ef1
commit 755207dc53
  1. 1
      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;

Loading…
Cancel
Save