Unified · Split
| @@ -209,7 +209,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 208 unmodified lines | ||
| 209 | 209 | int zret; |
| 210 | 210 | |
| 211 | 211 | switch (avctx->bits_per_coded_sample) { |
| 212 | − case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565; break; | |
| 212 | + case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565LE; break; | |
| 213 | 213 | case 24: avctx->pix_fmt = AV_PIX_FMT_BGR24; break; |
| 214 | 214 | case 32: avctx->pix_fmt = AV_PIX_FMT_BGRA; break; |
| 215 | 215 | default: av_log(avctx, AV_LOG_ERROR, "Unsupported bits_per_coded_sample: %d\n", |