fraps: set color_range

This commit is contained in:
Vittorio Giovara 2014-03-12 11:52:40 +01:00
parent 5b1b91cfb8
commit 6612a03d74
1 changed files with 2 additions and 0 deletions

View File

@ -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;