Fixed build issue.

This commit is contained in:
irungentoo 2014-11-26 16:03:22 -05:00
parent 00b511ed98
commit ed80c43e49
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -29,7 +29,11 @@ extern "C" {
#endif
typedef struct _ToxAv ToxAv;
#ifndef VPX_IMAGE_H
typedef struct vpx_image vpx_image_t;
#endif
typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);