Commit 265d884e authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Michael Niedermayer

avcodec/vmnc: Add back adapted comment about 24bit

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6b783d2a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment