Commit 2e03263c authored by Jan Kiene's avatar Jan Kiene
Browse files

remove accidental change

parent b1b8b5b5
Loading
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -140,21 +140,6 @@ ivas_error ivas_dirac_enc_open_fx(
            }
            set32_fx( hDirAC->direction_vector_m_fx[i][j], 0, DIRAC_MAX_NBANDS );
        }
#ifdef IVAS_FLOAT_FIXED
        IF( ( hDirAC->direction_vector_m_fx[i] = (Word32 **) malloc( MAX_PARAM_SPATIAL_SUBFRAMES * sizeof( Word32 * ) ) ) == NULL )
        {
            return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for DirAC\n" ) );
        }

        FOR( j = 0; j < MAX_PARAM_SPATIAL_SUBFRAMES; j++ )
        {
            if ( ( hDirAC->direction_vector_m_fx[i][j] = (Word32 *) malloc( DIRAC_MAX_NBANDS * sizeof( Word32 ) ) ) == NULL )
            {
                return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for DirAC\n" ) );
            }
            set32_fx( hDirAC->direction_vector_m_fx[i][j], 0, DIRAC_MAX_NBANDS );
        }
#endif
    }

    Word16 tmp_e = 0;