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

Chris Phillips chris at thirtythreeandathird.net
Wed Feb 19 23:07:34 CET 2003


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.
> 




More information about the MPlayer-dev-eng mailing list