diff options
-rw-r--r-- | docs/TODO | 2 | ||||
-rw-r--r-- | toxav/toxav.h | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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) |
47 | https://github.com/notsecure/uTox | 47 | https://github.com/notsecure/uTox |
48 | https://github.com/tux3/qTox | 48 | https://github.com/tux3/qTox |
49 | https://github.com/Impyy/Toxy | 49 | https://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 | ||
31 | typedef struct _ToxAv ToxAv; | 31 | typedef struct _ToxAv ToxAv; |
32 | |||
33 | #ifndef VPX_IMAGE_H | ||
32 | typedef struct vpx_image vpx_image_t; | 34 | typedef struct vpx_image vpx_image_t; |
35 | #endif | ||
36 | |||
33 | typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg ); | 37 | typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg ); |
34 | typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data); | 38 | typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data); |
35 | typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data); | 39 | typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data); |