From b4b4ff6fa2f5921dc8abb4f2117199d21d0a8e31 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Sat, 29 Nov 2014 23:01:27 +0100 Subject: Adapt to latest cleanup in API --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratox.c') diff --git a/ratox.c b/ratox.c index 2319d85..5f40ecc 100644 --- a/ratox.c +++ b/ratox.c @@ -1249,7 +1249,7 @@ toxinit(void) toxav_register_callstate_callback(toxav, cbcalltypechange, av_OnPeerCSChange, NULL); toxav_register_callstate_callback(toxav, cbcalltypechange, av_OnSelfCSChange, NULL); - toxav_register_audio_callback(cbcalldata, NULL); + toxav_register_audio_callback(toxav, cbcalldata, NULL); return 0; } -- cgit v1.2.3