summaryrefslogtreecommitdiff
path: root/libavcodec/fraps.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 15:56:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 15:58:02 +0100
commitca0e6fa7317cbc0677f6e90945a61baef3937915 (patch)
treecce55a4bc9cd225afd686d7a00a191e60f18c0fa /libavcodec/fraps.c
parent1c79ca272de8a94ef7a7cc4352645a1013cf9be3 (diff)
parent6612a03d7470af4aa6b8aa313b1eff013691d181 (diff)
Merge commit '6612a03d7470af4aa6b8aa313b1eff013691d181'
* commit '6612a03d7470af4aa6b8aa313b1eff013691d181': fraps: set color_range Conflicts: libavcodec/fraps.c See: 79f452f4e68696f1daa9f205b35037185959c9ea Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r--libavcodec/fraps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 225da11299..4f89af1e58 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -207,7 +207,8 @@ static int decode_frame(AVCodecContext *avctx,
f->key_frame = 1;
avctx->pix_fmt = version & 1 ? AV_PIX_FMT_BGR24 : AV_PIX_FMT_YUVJ420P;
- avctx->color_range = version & 1 ? AVCOL_RANGE_UNSPECIFIED : AVCOL_RANGE_JPEG;
+ avctx->color_range = version & 1 ? AVCOL_RANGE_UNSPECIFIED
+ : AVCOL_RANGE_JPEG;
avctx->colorspace = version & 1 ? AVCOL_SPC_UNSPECIFIED : AVCOL_SPC_BT709;
if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)