]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresdec_lgpl.c
ffmpeg: fallback to codecpar parameters on input filter eof
[ffmpeg] / libavcodec / proresdec_lgpl.c
index bc5bdb5a4d5ee129bb0222bf2285a5013b6aa691..c86d433f5072880cc9b0448ffd5d71caf0004782 100644 (file)
@@ -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;