Skip to content
Snippets Groups Projects
Commit 2183432e authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

mdec: set color_range

parent 1c1fbc70
No related branches found
No related tags found
No related merge requests found
......@@ -219,6 +219,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (avctx->idct_algo == FF_IDCT_AUTO)
avctx->idct_algo = FF_IDCT_SIMPLE;
avctx->pix_fmt = AV_PIX_FMT_YUVJ420P;
avctx->color_range = AVCOL_RANGE_JPEG;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment