avcodec/vmnc: Add back adapted comment about 24bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/137/head
Vittorio Giovara 10 years ago committed by Michael Niedermayer
parent 6b783d2ace
commit 265d884eb0
  1. 2
      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;

Loading…
Cancel
Save