avcodec/vmnc: Add back adapted comment about 24bit
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 20 May 2015 17:24:54 +0000 (19:24 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 20 May 2015 17:24:54 +0000 (19:24 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vmnc.c

index f003368..58bd0e2 100644 (file)
@@ -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;