mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.
This commit is contained in:
parent
5ee5f4b13c
commit
a810126fd1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue