ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sun Jul 22 10:19:03 2018 +0200| [3237f018fd0e0c0fe8ffb2b1cece23ee58a220a8] | committer: Paul B Mahol
avcodec/bink: set color range > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3237f018fd0e0c0fe8ffb2b1cece23ee58a220a8 --- libavcodec/bink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/bink.c b/libavcodec/bink.c index b3136b763c..9c17dedcba 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
