Commit 1f71f0a3 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/fmvc: use correct pixel format on big-endian for 16 bpp

parent 15a5f49c
......@@ -530,7 +530,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
switch (avctx->bits_per_coded_sample) {
case 16:
avctx->pix_fmt = AV_PIX_FMT_RGB555;
avctx->pix_fmt = AV_PIX_FMT_RGB555LE;
break;
case 24:
avctx->pix_fmt = AV_PIX_FMT_BGR24;
......
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