Commit 3bd6cbc4 authored by malenov's avatar malenov
Browse files

everything OK -> clear DEBUG_IND_LIST

parent f73c8d9f
Loading
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -922,10 +922,6 @@ ivas_error check_ind_list_limits(
    {
#ifdef DEBUGGING
        fprintf( stderr, "Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n", *( hBstr->ivas_max_num_indices ), frame );

#ifdef DEBUG_IND_LIST
        return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Max number of indices exceeded!" );
#endif
#endif

        /* reallocate the buffer of indices with increased limit */
@@ -951,10 +947,6 @@ ivas_error check_ind_list_limits(
            {
#ifdef DEBUGGING
                fprintf( stderr, "Warning: The maximum number of indices %d has been exceeded in frame %d! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().\n", *( hBstr->ivas_max_num_indices ), frame );

#ifdef DEBUG_IND_LIST
                return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Max number of indices exceeded!" );
#endif
#endif

                /* no available empty slot -> need to re-allocate the buffer */
+0 −1
Original line number Diff line number Diff line
@@ -135,7 +135,6 @@

#define BASOP_NOGLOB                                    /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */
#define IND_LIST_DYN                                    /* VA: Issue 18: Dynamic allocation of ind_list[] and ind_list_metadata[] based on # of transport channels */
#define DEBUG_IND_LIST

#ifndef IND_LIST_DYN
#define BITSTREAM_INDICES_MEMORY                        /* Don't count memory for bitstream Indice at the encoder - it is a temporary solution for development only */