summaryrefslogtreecommitdiff
path: root/toxav/video.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-22 22:52:36 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-23 11:41:11 +0100
commitb588e0fdd307632eaa027db31aa8c11a14c99cef (patch)
tree635f1ec5e20ad3fad497b6325105b35cba747743 /toxav/video.h
parent18b298a3d690d0691e7002977ba83b3965f78510 (diff)
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).
Diffstat (limited to 'toxav/video.h')
-rw-r--r--toxav/video.h2
1 files changed, 1 insertions, 1 deletions
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 {
47 47
48 /* decoding */ 48 /* decoding */
49 vpx_codec_ctx_t decoder[1]; 49 vpx_codec_ctx_t decoder[1];
50 void *vbuf_raw; /* Un-decoded data */ 50 RingBuffer *vbuf_raw; /* Un-decoded data */
51 51
52 uint64_t linfts; /* Last received frame time stamp */ 52 uint64_t linfts; /* Last received frame time stamp */
53 uint32_t lcfd; /* Last calculated frame duration for incoming video payload */ 53 uint32_t lcfd; /* Last calculated frame duration for incoming video payload */