diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-20 19:24:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-20 19:24:54 +0200 |
commit | 265d884eb076aca31a84596a41eb8b9db96db6b4 (patch) | |
tree | e4020e90cf85a997f57e6a441a7bddeb5dd76b0e /libavcodec/vmnc.c | |
parent | 6b783d2acea049d3ebbfe1352b55c8efe8b5168c (diff) | |
download | ffmpeg-265d884eb076aca31a84596a41eb8b9db96db6b4.tar.gz |
avcodec/vmnc: Add back adapted comment about 24bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vmnc.c')
-rw-r--r-- | libavcodec/vmnc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index f0033685d7..58bd0e26ae 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; |