[Ffmpeg-devel] uint_fast64_t in vorbis.c

Jacob Meuser jakemsr
Tue Jun 7 11:42:50 CEST 2005


not all systems define uint_fast64_t.

there's a test in configure for this, but then this activates code that
does not solve the problem discovered by that test.

as a result, FFmpeg does not currently build on systems that don't
define uint_fast64_t.

gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -fPIC -DPIC -c -o vorbis.o vorbis.c 
vorbis.c: In function `vorbis_residue_decode':
vorbis.c:1107: warning: comparison is always true due to limited range of data type
vorbis.c:1111: error: `uint_fast64_t' undeclared (first use in this function)
vorbis.c:1111: error: (Each undeclared identifier is reported only once
vorbis.c:1111: error: for each function it appears in.)
vorbis.c:1111: error: syntax error before "temp"
gmake[1]: *** [vorbis.o] Error 1
gmake[1]: Leaving directory `/home/jakemsr/tmp/ffmpeg/libavcodec'
gmake: *** [lib] Error 2

sorry, I am not sure what the best way to handle this is, thus the
lack of a patch.

-- 
<jakemsr at jakemsr.com>





More information about the ffmpeg-devel mailing list