From 4def2fd7e2421590eeb8c753c8ead27bd1fe021e Mon Sep 17 00:00:00 2001 From: bnnm Date: Fri, 23 Jul 2021 19:16:11 +0200 Subject: [PATCH] Allow wrong .AT3 again for old demuxed videos --- src/meta/ffmpeg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meta/ffmpeg.c b/src/meta/ffmpeg.c index 72428694..606df921 100644 --- a/src/meta/ffmpeg.c +++ b/src/meta/ffmpeg.c @@ -35,9 +35,12 @@ VGMSTREAM* init_vgmstream_ffmpeg(STREAMFILE* sf) { if (get_streamfile_size(sf) <= 0x1000) goto fail; + // many PSP rips have poorly demuxed videos with a failty RIFF, allow for now +#if 0 /* reject some formats handled elsewhere (better fail and check there than let buggy FFmpeg take over) */ if (check_extensions(sf, "at3")) goto fail; +#endif if (target_subsong == 0) target_subsong = 1;