[MPlayer-dev-eng] RFC conformance for stream/rtp.c (on 64 bit platforms)
Luca Barbato
lu_zero at gentoo.org
Tue May 29 09:57:20 CEST 2007
Bogdan Mustiata wrote:
> struct rtpbits {
> - unsigned int v:2; /* version: 2 */
> - unsigned int p:1; /* is there padding appended: 0 */
> - unsigned int x:1; /* number of extension headers: 0 */
> - unsigned int cc:4; /* number of CSRC identifiers: 0 */
> - unsigned int m:1; /* marker: 0 */
> - unsigned int pt:7; /* payload type: 33 for MPEG2 TS - RFC 1890 */
> - unsigned int sequence:16; /* sequence number: random */
> + uint32_t v:2; /* version: 2 */
> + uint32_t p:1; /* is there padding appended: 0 */
> + uint32_t x:1; /* number of extension headers: 0 */
> + uint32_t cc:4; /* number of CSRC identifiers: 0 */
> + uint32_t m:1; /* marker: 0 */
> + uint32_t pt:7; /* payload type: 33 for MPEG2 TS - RFC 1890 */
> + uint32_t sequence:16; /* sequence number: random */
> };
bitfields...
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the MPlayer-dev-eng
mailing list