From b588e0fdd307632eaa027db31aa8c11a14c99cef Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 22 Sep 2016 22:52:36 +0100 Subject: Replace `void*` with `RingBuffer*` to avoid conversions. `vbuf_raw` is always a `RingBuffer*` so there is no need to pretend it could ever be anything else (as indicated by it being a pointer to void). --- toxav/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxav/video.h') diff --git a/toxav/video.h b/toxav/video.h index 335240c7..6bc9ae5c 100644 --- a/toxav/video.h +++ b/toxav/video.h @@ -47,7 +47,7 @@ typedef struct VCSession_s { /* decoding */ vpx_codec_ctx_t decoder[1]; - void *vbuf_raw; /* Un-decoded data */ + RingBuffer *vbuf_raw; /* Un-decoded data */ uint64_t linfts; /* Last received frame time stamp */ uint32_t lcfd; /* Last calculated frame duration for incoming video payload */ -- cgit v1.2.3