[FFmpeg-devel] cmdutils.c

Frank Liu gfrankliu
Fri Feb 29 20:30:01 CET 2008

I am compiling today's ffmpeg svn on Solaris 10 Sparc and got the below errors:

cmdutils.c: In function 'parse_options':
cmdutils.c:131: error: 'INFINITY' undeclared (first use in this function)
cmdutils.c:131: error: (Each undeclared identifier is reported only once
cmdutils.c:131: error: for each function it appears in.)
gmake: *** [cmdutils.o] Error 1

I searched the source tree and cut/paste the below code from ffmpeg.c:
#if !defined(INFINITY) && defined(HUGE_VAL)
and now cmdutils.c compiles fine.

More information about the ffmpeg-devel mailing list