[SCM] libav/experimental: mdec: set color_range
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:02:13 UTC 2014
The following commit has been merged in the experimental branch:
commit 2183432e6dc8aedf1ef3db63006a2a8195479abd
Author: Vittorio Giovara <vittorio.giovara at gmail.com>
Date: Wed Mar 12 14:35:21 2014 +0100
mdec: set color_range
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index b9ffca6..d6c6060 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list