[FFmpeg-devel] [PATCH] Fix compilation on OS/2

Diego Biurrun diego
Mon Dec 1 09:45:51 CET 2008


On Sat, Nov 29, 2008 at 10:55:44AM +0100, Diego Biurrun wrote:
> On Sat, Nov 29, 2008 at 10:54:42AM +0100, Diego Biurrun wrote:
> > On Fri, Nov 28, 2008 at 07:41:25PM -0800, Dave Yeo wrote:
> > > Hi, compilation on OS/2 currently dies here,
> > >
> > > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.  
> > > -I"/usr/src/FFmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99  
> > > -fomit-frame-pointer -march=athlon-tbird -g  
> > > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization  
> > > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual  
> > > -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros    -c 
> > > -o libavformat/udp.o libavformat/udp.c
> > > libavformat/udp.c: In function 'udp_read':
> > > libavformat/udp.c:459: error: storage size of 'tv' isn't known
> > > libavformat/udp.c:459: warning: unused variable 'tv'
> > > make: *** [libavformat/udp.o] Error 1
> > >
> > > Which is fixed by attached patch
> > 
> > Wrong mailing list, send this to ffmpeg-devel.
> 
> lol, sorry...

Anyway, the patch looks harmless enough, I will apply it by Wednesday if
nobody objects.

Diego




More information about the ffmpeg-devel mailing list