Commit 2e2f1c40 authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Add define switches

parent 9c6b784a
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -147,6 +147,7 @@ typedef enum
    IVAS_ERR_LC3PLUS_INVALID_BITRATE,
    IVAS_ERR_INVALID_SPLIT_REND_CONFIG,

#ifdef IVAS_RTPDUMP
    /*----------------------------------------*
     *               rtp errors               *
     *----------------------------------------*/
@@ -154,6 +155,7 @@ typedef enum
    IVAS_ERR_RTP_INSUFFICIENT_OUTPUT_SIZE,
    IVAS_ERR_RTP_UNPACK_PI_DATA,
    IVAS_ERR_RTP_UNSUPPORTED_FRAME,
#endif

    /*----------------------------------------*
     *              unknown error             *
@@ -294,6 +296,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code )
    {
        return "data error";
    }
#ifdef IVAS_RTPDUMP
    if ( ( error_code & 0x7000 ) == 0x7000 )
    {
        switch ( error_code )
@@ -310,6 +313,7 @@ static inline const char *ivas_error_to_string( ivas_error error_code )
                return "rtp error";
        }
    }
#endif

    return "Unknown error";
}