Browse Source

mdec: set color_range

tags/n2.3
Vittorio Giovara 12 years ago
parent
commit
2183432e6d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mdec.c

+ 1
- 0
libavcodec/mdec.c View File

@@ -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…
Cancel
Save