[FFmpeg-devel] remove libavutil/random.[ch]
Justin Ruggles
justin.ruggles
Tue Mar 24 00:29:10 CET 2009
Jean-Michel Pour? wrote:
> On Sat, 2009-03-21 at 15:01 +0100, Diego Biurrun wrote:
>> libavutil/random.[ch] are deprecated and no longer used anywhere
>> within
>> FFmpeg. I propose deleting them, libavutil is currently in an
>> unstable
>> state anyway.
>
> Hello,
>
> Compiling today's SVN, I have this error:
>
> libavcodec/rawdec.c: In function ?raw_decode?:
> libavcodec/rawdec.c:127: warning: passing argument 2 of ?avpicture_fill?
> discards qualifiers from pointer target type
> gcc -DHAVE_AV_CONFIG_H -I. -I"/home/jmpoure/logiciels/ffmpeg/ffmpeg"
> -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fomit-frame-pointer -pthread
> -I/usr/include/dirac -I/usr/include/schroedinger-1.0
> -I/usr/include/liboil-0.3 -g -Wdeclaration-after-statement -Wall
> -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3
> -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o
> libavcodec/rawenc.o libavcodec/rawenc.c
> gcc -DHAVE_AV_CONFIG_H -I. -I"/home/jmpoure/logiciels/ffmpeg/ffmpeg"
> -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fomit-frame-pointer -pthread
> -I/usr/include/dirac -I/usr/include/schroedinger-1.0
> -I/usr/include/liboil-0.3 -g -Wdeclaration-after-statement -Wall
> -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3
> -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o
> libavcodec/rl2.o libavcodec/rl2.c
> make: *** No rule to make target `libavutil/random.h', needed by
> `libavcodec/roqvideodec.o'. Stop.
>
> Is there anything I should do to avoid compilation error?
You can remove libavcodec/roq*.d and libavcodec/elbg.d
That worked for me at least.
-Justin
More information about the ffmpeg-devel
mailing list