summaryrefslogtreecommitdiff
path: root/libavcodec/fraps.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r--libavcodec/fraps.c2
1 files changed, 2 insertions, 0 deletions
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;