[MPlayer-dev-eng] Re: mencoder.c compile error

Arpi arpi at thot.banki.hu
Thu Feb 20 00:24:06 CET 2003


Hi,

mayeb you have another lame.h somewhere
btw this is VERY OFFTOPIC here, go to -users list!!!!!!

> I'm using 3.92, which defines STANDARD_FAST etc. as enum, I included
> the relevant part from the 3.92 lame.h below! I just don't understand
> why gcc (3.2) disagrees...
> 
> 19/02/03 22:07, Chris Phillips wrote:
> 
> > well STANDARD_FAST is defined in 3.93, but not in 3.91, so i'd just say 
> > upgrade to 3.93... maybe this dependency should be made more secure in 
> > ./configure?
> > 
> > chris
> > 
> > > Hi,
> > > 
> > > Dunno if this is fixed already, I get the following compile error
> > > compiling MPlayer-0.90rc4 (with lame-libs-3.92-2):
> > > 
> > > mencoder.c: In function main':
> > > mencoder.c:397: warning: passing arg 2 of m_config_register_options'
> > > from incompatible pointer type
> > > mencoder.c: In function lame_presets_set':
> > > mencoder.c:1443: STANDARD_FAST' undeclared (first use in this function)
> > > mencoder.c:1443: (Each undeclared identifier is reported only once
> > > mencoder.c:1443: for each function it appears in.)
> > > 
> > > I don't really understand where this error comes from though, lame.h
> > > looks good to me:
> > > 
> > > /usr/include/lame/lame.h:73:
> > > /*presets*/
> > > typedef enum preset_mode_e {
> > >     /*values from 8 to 320 should be reserved for abr bitrates*/
> > >     /*for abr I'd suggest to directly use the targeted bitrate as a value*/
> > >     ABR_8 = 8,
> > >     ABR_320 = 320,
> > >     R3MIX = 1000,
> > >     STANDARD = 1001,
> > >     EXTREME = 1002,
> > >     INSANE = 1003,
> > >     STANDARD_FAST = 1004,
> > >     EXTREME_FAST = 1005
> > > } preset_mode;
> > > 				
> > > Bye,
> > > Pascal.
> > > 
> > 
> > 
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino


More information about the MPlayer-dev-eng mailing list