From: Carl Eugen Hoyos Date: Wed, 17 Aug 2016 20:02:30 +0000 (+0200) Subject: lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a810126fd1b922154359a84b49ae2b7b9568efae;p=ffmpeg lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp. --- diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c index fe0df2eec1d..d60d9466f6f 100644 --- a/libavcodec/rscc.c +++ b/libavcodec/rscc.c @@ -98,7 +98,7 @@ static av_cold int rscc_init(AVCodecContext *avctx) avctx->pix_fmt = AV_PIX_FMT_BGR24; break; case 32: - avctx->pix_fmt = AV_PIX_FMT_BGRA; + avctx->pix_fmt = AV_PIX_FMT_BGR0; break; default: av_log(avctx, AV_LOG_ERROR, "Invalid bits per pixel value (%d)\n",