Loading lib_com/ivas_fb_mixer.c +2 −5 Original line number Diff line number Diff line Loading @@ -289,14 +289,11 @@ ivas_error ivas_FB_mixer_open( if ( ( fb_cfg->active_w_mixing != -1 ) && ( fb_cfg->num_out_chans > 0 ) ) { float *pTemp_mem; if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * #ifdef HODIRAC max( fb_cfg->num_in_chans, fb_cfg->nchan_fb_in ) * if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * max( fb_cfg->num_in_chans, fb_cfg->nchan_fb_in ) * IVAS_MAX_NUM_BANDS ) ) == NULL ) #else fb_cfg->num_in_chans * if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * fb_cfg->num_in_chans * IVAS_MAX_NUM_BANDS ) ) == NULL ) #endif IVAS_MAX_NUM_BANDS ) ) == NULL ) { return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for FB mixer" ); } Loading Loading
lib_com/ivas_fb_mixer.c +2 −5 Original line number Diff line number Diff line Loading @@ -289,14 +289,11 @@ ivas_error ivas_FB_mixer_open( if ( ( fb_cfg->active_w_mixing != -1 ) && ( fb_cfg->num_out_chans > 0 ) ) { float *pTemp_mem; if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * #ifdef HODIRAC max( fb_cfg->num_in_chans, fb_cfg->nchan_fb_in ) * if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * max( fb_cfg->num_in_chans, fb_cfg->nchan_fb_in ) * IVAS_MAX_NUM_BANDS ) ) == NULL ) #else fb_cfg->num_in_chans * if ( ( pTemp_mem = (float *) malloc( sizeof( float ) * fb_cfg->num_out_chans * fb_cfg->num_in_chans * IVAS_MAX_NUM_BANDS ) ) == NULL ) #endif IVAS_MAX_NUM_BANDS ) ) == NULL ) { return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for FB mixer" ); } Loading