[FFmpeg-cvslog] avcodec/vmnc: Add back adapted comment about 24bit
Vittorio Giovara
git at videolan.org
Wed May 20 19:32:30 CEST 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed May 20 19:24:54 2015 +0200| [265d884eb076aca31a84596a41eb8b9db96db6b4] | committer: Michael Niedermayer
avcodec/vmnc: Add back adapted comment about 24bit
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=265d884eb076aca31a84596a41eb8b9db96db6b4
---
libavcodec/vmnc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index f003368..58bd0e2 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -537,6 +537,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_RGB555;
break;
case 24:
+ /* 24 bits is not technically supported, but some clients might
+ * mistakenly set it, so let's assume they actually meant 32 bits */
c->bpp = 32;
case 32:
avctx->pix_fmt = AV_PIX_FMT_0RGB32;
More information about the ffmpeg-cvslog
mailing list