summaryrefslogtreecommitdiff
path: root/libavcodec/fmvc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-08 20:33:15 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-08 20:33:15 +0200
commit1f71f0a3129a7157c886b33d6e3d81c602b82a76 (patch)
tree0abff8ce528e87c02bf0e94f460fe4eb8c3b670d /libavcodec/fmvc.c
parent15a5f49c0b6b8769056eb70050a6deb27a9da4d4 (diff)
avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
Diffstat (limited to 'libavcodec/fmvc.c')
-rw-r--r--libavcodec/fmvc.c2
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;