Fixes #2192.
Unified · Split
| @@ -341,7 +341,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 340 unmodified lines | ||
| 341 | 341 | avctx->pix_fmt = AV_PIX_FMT_RGB444; |
| 342 | 342 | } else if (avctx->codec_tag != MKTAG('D','E','E','P')) { |
| 343 | 343 | if (avctx->bits_per_coded_sample == 24) { |
| 344 | − avctx->pix_fmt = AV_PIX_FMT_RGB0; | |
| 344 | + avctx->pix_fmt = AV_PIX_FMT_0BGR32; | |
| 345 | 345 | } else if (avctx->bits_per_coded_sample == 32) { |
| 346 | 346 | avctx->pix_fmt = AV_PIX_FMT_BGR32; |
| 347 | 347 | } else { |