[MPlayer-users] Compiling CVS, "FRAME_RATE_BASE" undeclared
Robert Henney
robh at rut.org
Sun Mar 16 08:55:34 CET 2003
On Sat, Mar 15, 2003 at 09:11:29AM +0100, Heiko Recktenwald wrote:
> There is one thing, I dont get done, this has nothing to do with rtsp,
> any idea what this might be?
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.
> 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 vf_lavc.o vf_lavc.c
> vf_lavc.c: In function `config':
> vf_lavc.c:65: `FRAME_RATE_BASE' undeclared (first use in this function)
> vf_lavc.c:65: (Each undeclared identifier is reported only once
> vf_lavc.c:65: for each function it appears in.)
> vf_lavc.c: In function `open':
> vf_lavc.c:177: `FRAME_RATE_BASE' undeclared (first use in this function)
> gmake[1]: *** [vf_lavc.o] Error 1
> gmake[1]: Leaving directory `/da3s2e/fast/MPlayer-20030313/libmpcodecs'
>
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
--
robh
More information about the MPlayer-users
mailing list