[FFmpeg-cvslog] lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.

Carl Eugen Hoyos git at videolan.org
Wed Aug 17 23:10:56 EEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Aug 17 22:02:30 2016 +0200| [a810126fd1b922154359a84b49ae2b7b9568efae] | committer: Carl Eugen Hoyos

lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a810126fd1b922154359a84b49ae2b7b9568efae
---

 libavcodec/rscc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c
index fe0df2e..d60d946 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",



More information about the ffmpeg-cvslog mailing list