shithub: libopusenc

Download patch

ref: 63c6948494c93508d5801f94c36669bd35a7dd3a
parent: b88e66d1f6315e2087dd33bc9c9e99bb7cdaf840
author: Mark Harris <[email protected]>
date: Sat Feb 3 08:29:54 EST 2018

OPE_[GS]ET_HEADER_GAIN has only one argument

Signed-off-by: Jean-Marc Valin <[email protected]>

--- a/include/opusenc.h
+++ b/include/opusenc.h
@@ -135,8 +135,8 @@
 /* FIXME: Add type-checking macros to these. */
 #define OPE_SET_PACKET_CALLBACK(x,u) OPE_SET_PACKET_CALLBACK_REQUEST, (x), (u)
 /*#define OPE_GET_PACKET_CALLBACK(x,u) OPE_GET_PACKET_CALLBACK_REQUEST, (x), (u)*/
-#define OPE_SET_HEADER_GAIN(x,u) OPE_SET_HEADER_GAIN_REQUEST, __opus_check_int(x)
-#define OPE_GET_HEADER_GAIN(x,u) OPE_GET_HEADER_GAIN_REQUEST, __opus_check_int_ptr(x)
+#define OPE_SET_HEADER_GAIN(x) OPE_SET_HEADER_GAIN_REQUEST, __opus_check_int(x)
+#define OPE_GET_HEADER_GAIN(x) OPE_GET_HEADER_GAIN_REQUEST, __opus_check_int_ptr(x)
 /*@}*/
 /*@}*/