summaryrefslogtreecommitdiff
path: root/codecs/G722
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-30 22:16:09 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-30 22:16:09 +0000
commit8bdf0ad4098bb8b13473894625860c4ea7e5de7e (patch)
tree0e19bd795555f926987ebaef46e12a4f74702a83 /codecs/G722
parentac9b982868be71dec3cc9a451563af64fabf675a (diff)
downloadwireshark-8bdf0ad4098bb8b13473894625860c4ea7e5de7e.tar.gz
Tag arguments to decodeXXX routines as unused iff we don't support the
codec. svn path=/trunk/; revision=53680
Diffstat (limited to 'codecs/G722')
-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);