Disable silk_get_TOC in the code, as it's not used or exposed.

This commit is contained in:
Gregory Maxwell 2012-08-06 10:52:27 -04:00
parent 622046c1f1
commit 0d57a5dc28
2 changed files with 4 additions and 0 deletions

View file

@ -121,6 +121,7 @@ opus_int silk_Decode( /* O Returns error co
opus_int32 *nSamplesOut /* O Number of samples decoded */ opus_int32 *nSamplesOut /* O Number of samples decoded */
); );
#if 0
/**************************************/ /**************************************/
/* Get table of contents for a packet */ /* 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 */ const opus_int nFramesPerPayload, /* I Number of SILK frames per payload */
silk_TOC_struct *Silk_TOC /* O Type of content */ silk_TOC_struct *Silk_TOC /* O Type of content */
); );
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }

View file

@ -340,6 +340,7 @@ opus_int silk_Decode( /* O Returns error co
return ret; return ret;
} }
#if 0
/* Getting table of contents for a packet */ /* Getting table of contents for a packet */
opus_int silk_get_TOC( opus_int silk_get_TOC(
const opus_uint8 *payload, /* I Payload data */ const opus_uint8 *payload, /* I Payload data */
@ -371,3 +372,4 @@ opus_int silk_get_TOC(
return ret; return ret;
} }
#endif