Commit ad634cbe authored by malenov's avatar malenov
Browse files

removal of dynamic_malloc

parent bac3d12a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -114,7 +114,9 @@ ivas_error IVAS_ENC_Open(
     *-----------------------------------------------------------------*/

#ifdef BITSTREAM_INDICES_MEMORY
    if ( ( *phIvasEnc = (IVAS_ENC_HANDLE) dynamic_malloc( sizeof( struct IVAS_ENC ) ) ) == NULL )
#define WMC_TOOL_SKIP
    if ( ( *phIvasEnc = (IVAS_ENC_HANDLE) malloc( sizeof( struct IVAS_ENC ) ) ) == NULL )
#undef WMC_TOOL_SKIP
#else
    if ( ( *phIvasEnc = (IVAS_ENC_HANDLE) malloc( sizeof( struct IVAS_ENC ) ) ) == NULL )
#endif