Browse Source

prores: Always assume limited range

As defined by the specification.
tags/n4.0
Vittorio Giovara 8 years ago
parent
commit
45d7be7f93
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/proresdec.c

+ 1
- 0
libavcodec/proresdec.c View File

@@ -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;


Loading…
Cancel
Save