diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-22 13:54:32 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-22 13:54:32 +0100 |
commit | 6d09cc35f34b007c8e375350fb6bbd82888960ea (patch) | |
tree | 13658fd2bf4e7f1ad4e5918bb3473879f2bb909b | |
parent | 86115434f1f60afe51a87d4c1674a3e2c0d18700 (diff) |
rtp: Add "data" to access the data behind the header
This is needed for mgcp_transcode.c of OpenBSC to access the
data after the header. Use a zero sized array for it.
-rw-r--r-- | include/osmocom/netif/rtp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h index 729e5c9..46007db 100644 --- a/include/osmocom/netif/rtp.h +++ b/include/osmocom/netif/rtp.h @@ -23,6 +23,7 @@ struct rtp_hdr { uint16_t sequence; uint32_t timestamp; uint32_t ssrc; + uint8_t data[0]; } __attribute__((packed)); #define RTP_VERSION 2 |