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:
iphydf 2016-09-22 22:52:36 +01:00
parent 18b298a3d6
commit b588e0fdd3
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -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 */