You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/fmvc: use correct pixel format on big-endian for 16 bpp
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user