From 6612a03d7470af4aa6b8aa313b1eff013691d181 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 12 Mar 2014 11:52:40 +0100 Subject: fraps: set color_range --- libavcodec/fraps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/fraps.c') diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index f12e4e01ba..1005a56780 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; expected_size = header_size; -- cgit v1.2.3