[Ffmpeg-devel] [PATCH] Move BeOS-specific code into os_support.c

Diego Biurrun diego
Tue Nov 14 15:19:59 CET 2006


On Tue, Nov 14, 2006 at 02:56:23PM +0100, Fran?ois Revol wrote:
> 
> [...] 

Francois, while you are around, can you please remove all the
BeOS-specific hacks in libavformat?

Code like

#if defined(__BEOS__) || defined(__INNOTEK_LIBC__)
typedef int socklen_t;
#endif
#ifndef __BEOS__
# include <arpa/inet.h>
#else
# include "barpainet.h"
#endif

really should not be necessary.  libavformat/barpainet.h could also be
moved into libavformat/os_support.h or similar.

Diego




More information about the ffmpeg-devel mailing list