On Wed, 12 Mar 2014 15:30:44 +0100, Vittorio Giovara 
<vittorio.giov...@gmail.com> wrote:
> ---
>  libavcodec/mdec.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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;
>  

Ok

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to