[MPlayer-dev-eng] [PATCH] RFC conformance for stream/rtp.c (on 64 bit platforms)

Bogdan Mustiata bogdan.mustiata at gmail.com
Sun May 27 10:02:15 CEST 2007


Hi,

Conforming to RFC1889 (RTP: A Transport Protocol for Real-Time Applications), 
the RTP header should be 4 byte aligned. Unfortunately, in stream/rtp.c, 
ints are used to define the RTP header and they are not allways 4 byte as 
assumed in that code on 64bit platforms.

This patch changes the int usage to the reliable uint32_t and int32_t types.

Have fun,

Bogdan

PS: sorry for repetition, but I forgot to add [PATCH] to subject, for guys who 
have filters on e-mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtp_c.diff
Type: text/x-diff
Size: 2052 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070527/4a888f8a/attachment.diff>


More information about the MPlayer-dev-eng mailing list