1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/sanm: ignore codec48 compression type 6

Some videos of "StarWars - Making Magic" have this subcompression
type: data just consists of the 16 byte codec48 header; the DOS player
and the c48 decoder in the "Mysteries of the Sith" game engine ignore it.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
This commit is contained in:
Manuel Lauss
2025-04-29 12:42:40 +02:00
parent 244ad944e9
commit 7f0b7b0496

View File

@ -1586,7 +1586,8 @@ static int old_codec48(SANMVideoContext *ctx, int width, int height)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
codec47_comp1(ctx, dst, width, height, width); codec47_comp1(ctx, dst, width, height, width);
break; break;
case 6: // in some videos of "Star Wars - Making Magic", ignored.
break;
default: default:
avpriv_report_missing_feature(ctx->avctx, avpriv_report_missing_feature(ctx->avctx,
"Subcodec 48 compression %d", compr); "Subcodec 48 compression %d", compr);