]> git.sesse.net Git - ffmpeg/commitdiff
lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 17 Aug 2016 20:02:30 +0000 (22:02 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 17 Aug 2016 20:10:45 +0000 (22:10 +0200)
libavcodec/rscc.c

index fe0df2eec1d6fd151ed5251744bc753671f2cf47..d60d9466f6fc3e08f1cf9418dab4e0311cecd8d6 100644 (file)
@@ -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",