From a810126fd1b922154359a84b49ae2b7b9568efae Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 17 Aug 2016 22:02:30 +0200 Subject: lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp. --- libavcodec/rscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/rscc.c') diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c index fe0df2eec1..d60d9466f6 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", -- cgit v1.2.3