[FFmpeg-cvslog] lavc/vmnc: Fix 32bit colour-space, there is no transparency.
Carl Eugen Hoyos
git at videolan.org
Wed May 20 15:00:43 CEST 2015
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed May 20 14:59:38 2015 +0200| [eb0c08bc6938d1e873097a9c02772787d85b54b8] | committer: Carl Eugen Hoyos
lavc/vmnc: Fix 32bit colour-space, there is no transparency.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb0c08bc6938d1e873097a9c02772787d85b54b8
---
libavcodec/vmnc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 46bd52e..aef3df3 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -538,7 +538,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_RGB555;
break;
case 32:
- avctx->pix_fmt = AV_PIX_FMT_RGB32;
+ avctx->pix_fmt = AV_PIX_FMT_0RGB32;
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);
More information about the ffmpeg-cvslog
mailing list