<div dir="ltr">Never mind :) The struct gets padded with reserved byte before being sent over the wire.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 11:13 AM, Aaron Boxer <span dir="ltr"><<a href="mailto:boxerab@gmail.com" target="_blank">boxerab@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>The Gstreamer struct for the J2K over RTP header is:<br><br>typedef struct<br>{<br> guint tp : 2;<br> guint MHF : 2;<br> guint mh_id : 3;<br> guint T : 1;<br> guint priority : 8;<br> guint tile : 16;<br> guint offset : 24;<br>} RtpJ2KHeader;<br><br><br></div>but RFC 5371 states that there is a reserved 8 bits between tile and offfset.<br><br>(<a href="https://www.packetizer.com/rfc/rfc5371/" target="_blank">https://www.packetizer.com/rfc/rfc5371/</a>)<br><br></div><div>Am I missing something here, or is RtpJ2KHeader a 7 byte struct missing the reserved 8 bits ?<br><br></div><div>Thanks,<br></div><div>Aaron<br></div><div><br></div><div><br></div><div><br><br></div><br><br><br></div>
</blockquote></div><br></div>