diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-09-08 21:33:15 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-09-08 21:33:15 +0300 |
commit | 1f71f0a3129a7157c886b33d6e3d81c602b82a76 (patch) | |
tree | 0abff8ce528e87c02bf0e94f460fe4eb8c3b670d /libavcodec/fmvc.c | |
parent | 15a5f49c0b6b8769056eb70050a6deb27a9da4d4 (diff) |
avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
Diffstat (limited to 'libavcodec/fmvc.c')
-rw-r--r-- | libavcodec/fmvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fmvc.c b/libavcodec/fmvc.c index a06b90c6fe..5778d7b53f 100644 --- a/libavcodec/fmvc.c +++ b/libavcodec/fmvc.c @@ -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; |