summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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;
}