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