From fe6d14c0cdf22787447781b2b753e27df489b6a7 Mon Sep 17 00:00:00 2001 From: norvell Date: Wed, 21 Aug 2024 13:59:53 +0000 Subject: [PATCH 1/3] /* intentionally create a bad output */ --- lib_dec/ivas_core_dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_dec/ivas_core_dec.c b/lib_dec/ivas_core_dec.c index 6397898f5..387496d25 100644 --- a/lib_dec/ivas_core_dec.c +++ b/lib_dec/ivas_core_dec.c @@ -1584,6 +1584,8 @@ ivas_error ivas_core_dec_fx( } } + Scale_sig32(output_32_fx[n], output_frame, -31); /* intentionally create a bad output */ + Copy32( synth_32_fx[n], output_32_fx[n], output_frame ); /*--------------------------------------------------------* -- GitLab From d5f82508687fb93b374e9e52f144d7dd022d04c6 Mon Sep 17 00:00:00 2001 From: norvell Date: Wed, 21 Aug 2024 14:02:04 +0000 Subject: [PATCH 2/3] Update ivas_core_dec.c --- lib_dec/ivas_core_dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib_dec/ivas_core_dec.c b/lib_dec/ivas_core_dec.c index 387496d25..6628cde6c 100644 --- a/lib_dec/ivas_core_dec.c +++ b/lib_dec/ivas_core_dec.c @@ -1584,10 +1584,12 @@ ivas_error ivas_core_dec_fx( } } - Scale_sig32(output_32_fx[n], output_frame, -31); /* intentionally create a bad output */ + Scale_sig32(synth_32_fx[n], output_frame, -31); /* intentionally create a bad output */ Copy32( synth_32_fx[n], output_32_fx[n], output_frame ); + Scale_sig32(output_32_fx[n], output_frame, -31); /* intentionally create a bad output */ + /*--------------------------------------------------------* * Common updates *--------------------------------------------------------*/ -- GitLab From 47a429065062ef9bc16443e29ddafb6d849fa86c Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Wed, 21 Aug 2024 16:07:16 +0200 Subject: [PATCH 3/3] Clang format --- lib_dec/ivas_core_dec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib_dec/ivas_core_dec.c b/lib_dec/ivas_core_dec.c index 6628cde6c..090ba7d30 100644 --- a/lib_dec/ivas_core_dec.c +++ b/lib_dec/ivas_core_dec.c @@ -1584,11 +1584,11 @@ ivas_error ivas_core_dec_fx( } } - Scale_sig32(synth_32_fx[n], output_frame, -31); /* intentionally create a bad output */ + Scale_sig32( synth_32_fx[n], output_frame, -31 ); /* intentionally create a bad output */ Copy32( synth_32_fx[n], output_32_fx[n], output_frame ); - Scale_sig32(output_32_fx[n], output_frame, -31); /* intentionally create a bad output */ + Scale_sig32( output_32_fx[n], output_frame, -31 ); /* intentionally create a bad output */ /*--------------------------------------------------------* * Common updates @@ -2354,7 +2354,6 @@ ivas_error ivas_core_dec( } /* n_channels loop */ - pop_wmops(); return error; } -- GitLab