ref: 0d57a5dc28c904ad765fea12f8ab40e3bd6f05f4
parent: 622046c1f1230e107664e35873d46b731f32df41
author: Gregory Maxwell <[email protected]>
date: Mon Aug 6 06:52:27 EDT 2012
Disable silk_get_TOC in the code, as it's not used or exposed.
--- a/silk/API.h
+++ b/silk/API.h
@@ -121,6 +121,7 @@
opus_int32 *nSamplesOut /* O Number of samples decoded */
);
+#if 0
/**************************************/
/* Get table of contents for a packet */
/**************************************/
@@ -130,6 +131,7 @@
const opus_int nFramesPerPayload, /* I Number of SILK frames per payload */
silk_TOC_struct *Silk_TOC /* O Type of content */
);
+#endif
#ifdef __cplusplus
}
--- a/silk/dec_API.c
+++ b/silk/dec_API.c
@@ -340,6 +340,7 @@
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 @@
return ret;
}
+#endif