Commit f73c8d9f authored by malenov's avatar malenov
Browse files

reintroduce DEBUG_IND_LIST - just to see if CI job passes without error message

parent baff7159
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -922,6 +922,10 @@ 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 */
@@ -947,6 +951,10 @@ 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 */
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@

#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 */