[Ffmpeg-devel] [RFC] AF_INET or PF_INET

Alex Beregszaszi alex
Thu Feb 22 13:29:28 CET 2007


Hi,

I know the above defines are the same on sane systems. FFmpeg uses the
former in some places, and the latter in others.

Can we make this consistent?

Which should we choose?

The winsock (sic) manuals prefer PF_INET, however as I see we need a to
define PF_INET=AF_INET on BeOS, and also the IPv6 code uses AF_INET6 -
not sure whether there is PF_INET6. Thus I would stick to AF_INET* and
avoid PF_*.

--
Alex Beregszaszi






More information about the ffmpeg-devel mailing list