[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-dev-eng
Subject:    Re: [MPlayer-dev-eng] RFC conformance for stream/rtp.c (on 64 bit
From:       Luca Barbato <lu_zero () gentoo ! org>
Date:       2007-05-29 7:57:20
Message-ID: 465BDCE0.4000907 () gentoo ! org
[Download RAW message or body]

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

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic