You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
prores: Always assume limited range
As defined by the specification.
This commit is contained in:
@@ -176,6 +176,7 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
|
|||||||
avctx->color_primaries = buf[14];
|
avctx->color_primaries = buf[14];
|
||||||
avctx->color_trc = buf[15];
|
avctx->color_trc = buf[15];
|
||||||
avctx->colorspace = buf[16];
|
avctx->colorspace = buf[16];
|
||||||
|
avctx->color_range = AVCOL_RANGE_MPEG;
|
||||||
|
|
||||||
ctx->qmat_changed = 0;
|
ctx->qmat_changed = 0;
|
||||||
ptr = buf + 20;
|
ptr = buf + 20;
|
||||||
|
Reference in New Issue
Block a user