[MPlayer-dev-eng] [PATCH] audio encoding reworked

Bohdan Horst nexus at hoth.amu.edu.pl
Fri Apr 22 13:01:00 CEST 2005


On Fri, Apr 22, 2005 at 09:03:10AM +0200, Nico Sabbi wrote:
> Nico Sabbi wrote:
> 
> >
> >This (largish) patch moves away from mencoder.c and into separate 
> >files all audio encoding code,
> >except ACODEC_COPY.
> >I designed a small api that so far permits to use all actual audio 
> >codecs; it should
> >be enough to accomodate other codecs in the future.
> >Nothing is supposed to change with respect to the current encoders 
> >features,
> >so if there are problems report ASAP, please.
> >
> >If no one objects I will commit after pre8 is out.
> >
> >Please, help me to test and report eventual problems and / or advices.
> >
> >   Nico
> 
> 
> committed with fixes for lame

FreeBSD:

FreeBSD 5.3: gcc version 3.4.2 [FreeBSD] 20040728:

cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include  -I. -Inative -I.. -I../libmpdemux -I../loader -I/usr/local/include   -D_GNU_SOURCE -o ae.o ae.c
In file included from ae.c:6:
../libmpdemux/aviheader.h:340: error: syntax error before "off_t"
../libmpdemux/aviheader.h:347: error: syntax error before "off_t"
In file included from ae.c:8:
../libmpdemux/muxer.h:19: error: syntax error before "off_t"
../libmpdemux/muxer.h:54: error: syntax error before "off_t"
gmake[1]: *** [ae.o] Error 1


FreeBSD 5.2.1: gcc version 3.3.3 [FreeBSD] 20031106:

cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include  -I. -Inative -I.. -I../libmpdemux -I../loader -I/usr/local/include   -D_GNU_SOURCE -o ae.o ae.c
In file included from ae.c:6:
../libmpdemux/aviheader.h:340: error: syntax error before "off_t"
../libmpdemux/aviheader.h:347: error: syntax error before "off_t"
In file included from ae.c:8:
../libmpdemux/muxer.h:19: error: syntax error before "off_t"
../libmpdemux/muxer.h:54: error: syntax error before "off_t"
gmake[1]: *** [ae.o] Error 1

FreeBSD 4.11: gcc version 2.95.4 20020320 [FreeBSD]:

cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include  -I. -Inative -I.. -I../libmpdemux -I../loader -I/usr/local/include -D_GNU_SOURCE -o ae.o ae.c
In file included from ae.c:6:
../libmpdemux/aviheader.h:340: syntax error before `off_t'
../libmpdemux/aviheader.h:347: syntax error before `off_t'
In file included from ae.c:8:
../libmpdemux/muxer.h:19: syntax error before `off_t'
../libmpdemux/muxer.h:54: syntax error before `off_t'
ae.c: In function `new_audio_encoder':
ae.c:30: syntax error before `*'
ae.c:31: `encoder' undeclared (first use in this function)
ae.c:31: (Each undeclared identifier is reported only once
ae.c:31: for each function it appears in.)
gmake[1]: *** [ae.o] Error 1


regards

-- 
Bohdan 'Nexus' Horst




More information about the MPlayer-dev-eng mailing list