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

This commit is contained in:
Paul B Mahol 2018-09-08 20:33:15 +02:00
parent 15a5f49c0b
commit 1f71f0a312
1 changed files with 1 additions and 1 deletions

View File

@ -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;