mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.
This commit is contained in:
parent
5ee5f4b13c
commit
a810126fd1
@ -98,7 +98,7 @@ static av_cold int rscc_init(AVCodecContext *avctx)
|
||||
avctx->pix_fmt = AV_PIX_FMT_BGR24;
|
||||
break;
|
||||
case 32:
|
||||
avctx->pix_fmt = AV_PIX_FMT_BGRA;
|
||||
avctx->pix_fmt = AV_PIX_FMT_BGR0;
|
||||
break;
|
||||
default:
|
||||
av_log(avctx, AV_LOG_ERROR, "Invalid bits per pixel value (%d)\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user