diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-06 10:52:27 -0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-06 12:29:42 -0400 |
commit | 0d57a5dc28c904ad765fea12f8ab40e3bd6f05f4 (patch) | |
tree | 6a669c02b913d82f3e320956411842e1198021c0 /silk | |
parent | 622046c1f1230e107664e35873d46b731f32df41 (diff) | |
download | opus-0d57a5dc28c904ad765fea12f8ab40e3bd6f05f4.tar.gz |
Disable silk_get_TOC in the code, as it's not used or exposed.
Diffstat (limited to 'silk')
-rw-r--r-- | silk/API.h | 2 | ||||
-rw-r--r-- | silk/dec_API.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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 2ca24519..60beef6e 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 |