mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avcodec/bink: set color range
This commit is contained in:
parent
1b0922584e
commit
3237f018fd
@ -1343,6 +1343,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return ret;
|
||||
|
||||
avctx->pix_fmt = c->has_alpha ? AV_PIX_FMT_YUVA420P : AV_PIX_FMT_YUV420P;
|
||||
avctx->color_range = c->version == 'k' ? AVCOL_RANGE_JPEG : AVCOL_RANGE_MPEG;
|
||||
|
||||
ff_blockdsp_init(&c->bdsp, avctx);
|
||||
ff_hpeldsp_init(&c->hdsp, avctx->flags);
|
||||
|
Loading…
Reference in New Issue
Block a user