diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-12 11:52:40 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-16 23:31:30 +0100 |
commit | 6612a03d7470af4aa6b8aa313b1eff013691d181 (patch) | |
tree | b67c9de5848abb172fa5386623fa45205743c125 /libavcodec/fraps.c | |
parent | 5b1b91cfb82d56c09846c68b09d2b8b7c8faccc4 (diff) | |
download | ffmpeg-6612a03d7470af4aa6b8aa313b1eff013691d181.tar.gz |
fraps: set color_range
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r-- | libavcodec/fraps.c | 2 |
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; |