[FFmpeg-cvslog] avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
Paul B Mahol
git at videolan.org
Sat Sep 8 22:42:13 EEST 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 8 20:33:15 2018 +0200| [1f71f0a3129a7157c886b33d6e3d81c602b82a76] | committer: Paul B Mahol
avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f71f0a3129a7157c886b33d6e3d81c602b82a76
---
libavcodec/fmvc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list