Disable silk_get_TOC in the code, as it's not used or exposed.
authorGregory Maxwell <greg@xiph.org>
Mon, 6 Aug 2012 14:52:27 +0000 (10:52 -0400)
committerGregory Maxwell <greg@xiph.org>
Mon, 6 Aug 2012 16:29:42 +0000 (12:29 -0400)
silk/API.h
silk/dec_API.c

index be1671d..c77ad2f 100644 (file)
@@ -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
 }
index 2ca2451..60beef6 100644 (file)
@@ -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