aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 16:13:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 16:14:28 +0100
commit987b873049a84aee002766e50d9165993e72f403 (patch)
tree1edd0abf1c367e04c18d2c565963eb8cc865d447 /libavcodec/mdec.c
parent020baa0be64b460d48fecdfe13f1adabf6a293cd (diff)
parent2183432e6dc8aedf1ef3db63006a2a8195479abd (diff)
downloadffmpeg-987b873049a84aee002766e50d9165993e72f403.tar.gz
Merge commit '2183432e6dc8aedf1ef3db63006a2a8195479abd'
* commit '2183432e6dc8aedf1ef3db63006a2a8195479abd': mdec: set color_range Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index 1567e14a1f..d9bb64e31f 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -215,6 +215,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;
}