1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-27 23:43:28 +02:00

lavc/vmnc: Fix 32bit colour-space, there is no transparency.

This commit is contained in:
Carl Eugen Hoyos 2015-05-20 14:59:38 +02:00
parent 0d41f1ffbc
commit eb0c08bc69

View File

@ -538,7 +538,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_RGB555;
break;
case 32:
avctx->pix_fmt = AV_PIX_FMT_RGB32;
avctx->pix_fmt = AV_PIX_FMT_0RGB32;
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);