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 fe0df2e..d60d946 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",