From: Luke Kenneth Casson Leighton Date: Thu, 16 Dec 2021 20:27:35 +0000 (+0000) Subject: bug where t1 was set to zero but s2 was not in imdct36_standalone.c X-Git-Tag: sv_maxu_works-initial~629 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc3a46cfbceee71097f88338be5c3bb83856cc26;p=openpower-isa.git bug where t1 was set to zero but s2 was not in imdct36_standalone.c --- 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;