mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/vmnc: Add back adapted comment about 24bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6b783d2ace
commit
265d884eb0
@ -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…
Reference in New Issue
Block a user