1
0
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:
Carl Eugen Hoyos
2016-08-17 22:02:30 +02:00
parent 5ee5f4b13c
commit a810126fd1

View File

@@ -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",