[MPlayer-users] Compiling CVS, "FRAME_RATE_BASE" undeclared

Heiko Recktenwald uzs106 at ibm.rhrz.uni-bonn.de
Sun Mar 16 13:55:33 CET 2003


> Try this..  add "#define FRAME_RATE_BASE 10000" into libavcodec/avcodec.h.
> Right after the line with "#define DEFAULT_FRAME_RATE_BASE 1001000" is
> probably a good place.
> 
> That made it work for me.  I ran into the same problem as you.

Et voila:

gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_THRE
AD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Inative
-I.. -I../libmpd
emux -I../loader -I/usr/local/include  -D_GNU_SOURCE -o ve_xvid.o
ve_xvid.c
ve_xvid.c:60: initializer element is not constant
ve_xvid.c:60: (near initialization for `motion_presets[5]')
ve_xvid.c: In function `config':
ve_xvid.c:198: structure has no member named `rc_bitrate'
ve_xvid.c:200: structure has no member named `rc_bitrate'
ve_xvid.c:202: structure has no member named `rc_bitrate'
ve_xvid.c:214: structure has no member named `rc_reaction_delay_factor'
ve_xvid.c:215: structure has no member named `rc_averaging_period'
ve_xvid.c:216: structure has no member named `rc_buffer'
ve_xvid.c:322: structure has no member named `rc_bitrate'
gmake[1]: *** [ve_xvid.o] Error 1
gmake[1]: Leaving directory `/da3s2e/fast/MPlayer-20030313/libmpcodecs'
gmake: *** [libmpcodecs/libmpcodecs.a] Error 2
root at moritz#



H.



More information about the MPlayer-users mailing list