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

Pascal Haakmat a.haakmat at chello.nl
Thu Feb 20 00:11:43 CET 2003


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


More information about the MPlayer-dev-eng mailing list