diff --git a/silk/API.h b/silk/API.h index be1671d12ad7eac5eb9bb993da539719566096db..c77ad2f5bf4ff694222d3348f5e0bb9133aef6d9 100644 --- a/silk/API.h +++ b/silk/API.h @@ -121,6 +121,7 @@ opus_int silk_Decode( /* O Returns error co opus_int32 *nSamplesOut /* O Number of samples decoded */ ); +#if 0 /**************************************/ /* Get table of contents for a packet */ /**************************************/ @@ -130,6 +131,7 @@ opus_int silk_get_TOC( const opus_int nFramesPerPayload, /* I Number of SILK frames per payload */ silk_TOC_struct *Silk_TOC /* O Type of content */ ); +#endif #ifdef __cplusplus } diff --git a/silk/dec_API.c b/silk/dec_API.c index 2ca245191ab5814b1f1578a9f49819b3d266bf83..60beef6eb948ebea3e2806cf8ef16a0e7bc1d61c 100644 --- a/silk/dec_API.c +++ b/silk/dec_API.c @@ -340,6 +340,7 @@ opus_int silk_Decode( /* O Returns error co return ret; } +#if 0 /* Getting table of contents for a packet */ opus_int silk_get_TOC( const opus_uint8 *payload, /* I Payload data */ @@ -371,3 +372,4 @@ opus_int silk_get_TOC( return ret; } +#endif