diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c
index 419c3fa..cd8ada1 100644
|
a
|
b
|
static int bmp_decode_frame(AVCodecContext *avctx,
|
| 140 | 140 | |
| 141 | 141 | switch(depth){ |
| 142 | 142 | case 32: |
| 143 | | if(comp == BMP_BITFIELDS){ |
| | 143 | if(0 && comp == BMP_BITFIELDS){ |
| 144 | 144 | rgb[0] = (rgb[0] >> 15) & 3; |
| 145 | 145 | rgb[1] = (rgb[1] >> 15) & 3; |
| 146 | 146 | rgb[2] = (rgb[2] >> 15) & 3; |
| … |
… |
static int bmp_decode_frame(AVCodecContext *avctx,
|
| 150 | 150 | break; |
| 151 | 151 | } |
| 152 | 152 | } else { |
| 153 | | rgb[0] = 2; |
| 154 | | rgb[1] = 1; |
| 155 | | rgb[2] = 0; |
| | 153 | rgb[0] = 3; |
| | 154 | rgb[1] = 2; |
| | 155 | rgb[2] = 1; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | avctx->pix_fmt = PIX_FMT_BGRA; |