Commit 045769d5 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix basop issue 2329 by changing check to check for structure.

parent bdda6081
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@
#define HARM_CORECODER_UPDT                             /* VA: basop issue 2342: Remove duplicated code in core-coder common update functions */
#define HARM_CORE_SW                                    /* VA: basop issue 2314: Remove duplicated code in the core switching */
#define HARM_PREPROC                                    /* VA: basop issue 2339: Remove duplicated code in the core-coder DTX  */
#define FIX_BASOP_2329_UNINIT_VALUE                     /* Nokia: basop issue 2329: Fix issue by checking for structure instead of length */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -11185,7 +11185,11 @@ static void intermidiate_ext_dirac_render(
            move16();
        }

#ifdef FIX_BASOP_2329_UNINIT_VALUE
        IF( hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_fx )
#else
        IF( hDirACRend->h_output_synthesis_psd_state.proto_diffuse_buffer_f_len > 0 )
#endif
        {
            Word16 shift, norm1, norm2;
            Word32 tmp1, tmp2;