mdec: set color_range
This commit is contained in:
parent
1c1fbc70ca
commit
2183432e6d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue