osmux: osmux_get_payload returns uint8_t * instead void *
So we easily add offsets without any casting.
This commit is contained in:
parent
52c7649e23
commit
969db946d4
|
@ -53,7 +53,7 @@ struct osmux_out_handle {
|
|||
uint32_t rtp_timestamp;
|
||||
};
|
||||
|
||||
static inline void *osmux_get_payload(struct osmux_hdr *osmuxh)
|
||||
static inline uint8_t *osmux_get_payload(struct osmux_hdr *osmuxh)
|
||||
{
|
||||
return (uint8_t *)osmuxh + sizeof(struct osmux_hdr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue