Brian,

I saw your new demux_real.c last night so I thought I'd try a Linux
build and do some testing.  I download and successfully built
MPlayer-1.0pre7try2.

Then I replaced demux_real.c but the compiler chokes on the last part
of the file (which appears to be extra when compared to the original).


cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I..
-I../loader   -I../libavcodec -I../libavformat    -o demux_real.o
demux_real.c
demux_real.c:1995: parse error before "demuxer_desc_real"
demux_real.c:1996: warning: initialization makes integer from pointer
without a cast
demux_real.c:1997: warning: excess elements in scalar initializer
demux_real.c:1997: warning: (near initialization for
`demuxer_desc_real')
<SNIP - lots of this>


Suspecting possible zip or Windows/Unix file problems I tried uzipping
on a Windows box, and finally, unpacked MPlayer-1.0pre7try2 into a
fresh directory, replaced demux_real.c and configured/compiled from a
clean source tree.  Same errors.  As a few others have now successfully
compiled this, I can only assume it's something in my compile
environment (or were all the successful compiles done on Windows?). 
The same is true with the new file you posted just now.


Anyone got any thoughts on this?  If I can get a working compile
environment, I will be happy to do some testing of a Linux install, and
supply a binary.  


This is the fragment it is complaining about:-

demuxer_desc_t demuxer_desc_real = {
"Realmedia demuxer",
"real",
"REAL",
"Alex Beregszasi, Florian Schneider, A'rpi, Roberto Togni",
"handles new .RMF files",
DEMUXER_TYPE_REAL,
1, // safe autodetect
real_check_file,
demux_real_fill_buffer,
demux_open_real,
demux_close_real,
demux_seek_real,
demux_real_control
};


-- 
Scooter
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to