summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/TODO2
-rw-r--r--toxav/toxav.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/TODO b/docs/TODO
index c841a20d..16380c20 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -46,6 +46,6 @@ blocks UDP (or is just unpunchable) (docs/TCP_Network.txt)
46[IN PROGRESS] GUI (no official one chosen yet, a list of promising ones follows) 46[IN PROGRESS] GUI (no official one chosen yet, a list of promising ones follows)
47https://github.com/notsecure/uTox 47https://github.com/notsecure/uTox
48https://github.com/tux3/qTox 48https://github.com/tux3/qTox
49https://github.com/Impyy/Toxy 49https://github.com/Reverp/Toxy
50 50
51[NOT STARTED] Security audit from professionals 51[NOT STARTED] Security audit from professionals
diff --git a/toxav/toxav.h b/toxav/toxav.h
index 8d4db14a..07c395ec 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -29,7 +29,11 @@ extern "C" {
29#endif 29#endif
30 30
31typedef struct _ToxAv ToxAv; 31typedef struct _ToxAv ToxAv;
32
33#ifndef VPX_IMAGE_H
32typedef struct vpx_image vpx_image_t; 34typedef struct vpx_image vpx_image_t;
35#endif
36
33typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg ); 37typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
34typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data); 38typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
35typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data); 39typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);