diff options
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r-- | toxav/toxav.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |