summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c
index 299e701d..d98824be 100644
--- a/auto_tests/toxav_many_test.c
+++ b/auto_tests/toxav_many_test.c
@@ -120,11 +120,11 @@ void callback_requ_timeout ( void *av, int32_t call_index, void *_arg )
120 //ck_assert_msg(0, "No answer!"); 120 //ck_assert_msg(0, "No answer!");
121} 121}
122 122
123static void callback_audio(ToxAv *av, int32_t call_index, int16_t *data, int length) 123static void callback_audio(ToxAv *av, int32_t call_index, int16_t *data, int length, void* userdata)
124{ 124{
125} 125}
126 126
127static void callback_video(ToxAv *av, int32_t call_index, vpx_image_t *img) 127static void callback_video(ToxAv *av, int32_t call_index, vpx_image_t *img, void* userdata)
128{ 128{
129} 129}
130 130
@@ -143,8 +143,8 @@ void register_callbacks(ToxAv *av, void *data)
143 toxav_register_callstate_callback(av, callback_requ_timeout, av_OnRequestTimeout, data); 143 toxav_register_callstate_callback(av, callback_requ_timeout, av_OnRequestTimeout, data);
144 144
145 145
146 toxav_register_audio_recv_callback(av, callback_audio); 146 toxav_register_audio_recv_callback(av, callback_audio, NULL);
147 toxav_register_video_recv_callback(av, callback_video); 147 toxav_register_video_recv_callback(av, callback_video, NULL);
148} 148}
149/*************************************************************************************************/ 149/*************************************************************************************************/
150 150