Commit 987b8730 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '2183432e'

* commit '2183432e':
  mdec: set color_range
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 020baa0b 2183432e
...@@ -215,6 +215,7 @@ static av_cold int decode_init(AVCodecContext *avctx) ...@@ -215,6 +215,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
if (avctx->idct_algo == FF_IDCT_AUTO) if (avctx->idct_algo == FF_IDCT_AUTO)
avctx->idct_algo = FF_IDCT_SIMPLE; avctx->idct_algo = FF_IDCT_SIMPLE;
avctx->pix_fmt = AV_PIX_FMT_YUVJ420P; avctx->pix_fmt = AV_PIX_FMT_YUVJ420P;
avctx->color_range = AVCOL_RANGE_JPEG;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment