Skip to content
Snippets Groups Projects
Commit 265d884e authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Michael Niedermayer
Browse files

avcodec/vmnc: Add back adapted comment about 24bit

parent 6b783d2a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment