From cc3a46cfbceee71097f88338be5c3bb83856cc26 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 16 Dec 2021 20:27:35 +0000 Subject: [PATCH] bug where t1 was set to zero but s2 was not in imdct36_standalone.c --- media/audio/mp3/imdct36_standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/audio/mp3/imdct36_standalone.c b/media/audio/mp3/imdct36_standalone.c index be81fd19..9cf34766 100644 --- a/media/audio/mp3/imdct36_standalone.c +++ b/media/audio/mp3/imdct36_standalone.c @@ -155,7 +155,7 @@ void imdct36(float *out, float *buf, float *in, const float *win) t0 = tmp[i]; if (predicate) t1 = tmp[i + 2]; else t1 = 0.0; s0 = t1 + t0; - if (predicate) s2 = t1 - t0; else t1 = 0.0; + if (predicate) s2 = t1 - t0; else s2 = 0.0; t2 = tmp[i + 1]; if (predicate) t3 = tmp[i + 3]; else t3 = 0.0; -- 2.30.2