mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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).
This commit is contained in:
parent
18b298a3d6
commit
b588e0fdd3
|
@ -47,7 +47,7 @@ typedef struct VCSession_s {
|
||||||
|
|
||||||
/* decoding */
|
/* decoding */
|
||||||
vpx_codec_ctx_t decoder[1];
|
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 */
|
uint64_t linfts; /* Last received frame time stamp */
|
||||||
uint32_t lcfd; /* Last calculated frame duration for incoming video payload */
|
uint32_t lcfd; /* Last calculated frame duration for incoming video payload */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user