Commit a810126f authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/rscc: Fix colourspace for codec_tag RSCC and 32bpp.

parent 5ee5f4b1
...@@ -98,7 +98,7 @@ static av_cold int rscc_init(AVCodecContext *avctx) ...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment