On Wed, 12 Mar 2014 15:30:42 +0100, Vittorio Giovara 
<[email protected]> wrote:
> ---
>  libavcodec/fraps.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
> index f12e4e0..1005a56 100644
> --- a/libavcodec/fraps.c
> +++ b/libavcodec/fraps.c
> @@ -175,6 +175,8 @@ static int decode_frame(AVCodecContext *avctx,
>          av_frame_unref(f);
>      }
>      avctx->pix_fmt = pix_fmt;
> +    avctx->color_range = version & 1 ? AVCOL_RANGE_UNSPECIFIED
> +                                     : AVCOL_RANGE_JPEG;

Looks ok

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to