[MPlayer-dev-eng] [PATCH] Seek in real media files V3

D Richard Felker III dalias at aerifal.cx
Mon Nov 3 06:37:44 CET 2003


On Mon, Nov 03, 2003 at 09:27:03AM +0800, ½Ȼ wrote:
> Hi,
> 
> > I don't think so:
> > 
> > cc -c -g -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer
> > -D_REENTRANT -I../loader      -o demux_real.o demux_real.c
 demux_real.c:
> > In function `demux_real_control':
> > demux_real.c:1417: parse error before `int'
> > demux_real.c:1418: `lastpts' undeclared (first use in this function)
> > demux_real.c:1418: (Each undeclared identifier is reported only once
> > demux_real.c:1418: for each function it appears in.)
> > make[1]: *** [demux_real.o] Error 1
> > make[1]: Leaving directory `/usr/src/mplayer/dev/libmpdemux'
> > make: *** [libmpdemux/libmpdemux.a] Error 2
> > 
> > gcc 2.95.4, Debian woody
> > 
> 
> oops, you should upgrade you gcc, hehe. Or try this patch, don't have a 2.95 
> to test, but should be ok I think.

Declaring variables in the middle of nowhere is ugly and not
acceptable. Also, as Diego says, gcc 2.95 is the recommended compiler
because almost every version of gcc 3.x has critical bugs that cause
internal compiler errors or generate broken code when compiling
MPlayer.

Rich



More information about the MPlayer-dev-eng mailing list