aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/G722/G722decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/G722/G722decode.c')
-rw-r--r--codecs/G722/G722decode.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/codecs/G722/G722decode.c b/codecs/G722/G722decode.c
index 2286bd0a61..73bc10dbc8 100644
--- a/codecs/G722/G722decode.c
+++ b/codecs/G722/G722decode.c
@@ -22,6 +22,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <glib.h>
#ifdef HAVE_SPANDSP
@@ -43,8 +45,14 @@ initG722(void)
#endif
}
+#ifdef HAVE_SPANDSP
+#define _U_NOSPANDSP_
+#else
+#define _U_NOSPANDSP_ _U_
+#endif
int
-decodeG722(void *input, int inputSizeBytes, void *output, int *outputSizeBytes)
+decodeG722(void *input _U_NOSPANDSP_, int inputSizeBytes _U_NOSPANDSP_,
+ void *output _U_NOSPANDSP_, int *outputSizeBytes _U_NOSPANDSP_)
{
#ifdef HAVE_SPANDSP
*outputSizeBytes = g722_decode(&state, output, input, inputSizeBytes);