From f84e40e924ca16e2ab8fc7115078b64b30ba1be4 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 15 Jan 2023 17:45:02 +0100 Subject: [PATCH] ffmpeg: disable XMA skip hack for now - ffmpeg should now handle internal per-frame encoder delay, but doesn't do it correctly in all cases --- src/coding/coding_utils.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/coding/coding_utils.c b/src/coding/coding_utils.c index 3cecf876..b7646796 100644 --- a/src/coding/coding_utils.c +++ b/src/coding/coding_utils.c @@ -845,7 +845,11 @@ void xma_fix_raw_samples_ch(VGMSTREAM* vgmstream, STREAMFILE* sf, off_t stream_o } } -#ifdef VGM_USE_FFMPEG + +#if 0 + //TODO: ffmpeg now handles internal frame encoder delay, but not correctly in all cases + // without this in most cases should be equivalent as before +//#ifdef VGM_USE_FFMPEG /* also fix FFmpeg, since we now know exact skips */ { ffmpeg_codec_data* data = vgmstream->codec_data;