Commit 79f452f4 authored by Paul B Mahol's avatar Paul B Mahol

fraps: set avctx->color_range

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 591fa052
......@@ -200,6 +200,7 @@ 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;
if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment