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;
|
avctx->pix_fmt = AV_PIX_FMT_RGB555;
|
||||||
break;
|
break;
|
||||||
case 24:
|
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;
|
c->bpp = 32;
|
||||||
case 32:
|
case 32:
|
||||||
avctx->pix_fmt = AV_PIX_FMT_0RGB32;
|
avctx->pix_fmt = AV_PIX_FMT_0RGB32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user