[FFmpeg-devel] [PATCH] libavfilter-soc: ffmpeg fails to build without --enable-avfilter

Cédric Schieli cschieli
Tue Jan 27 16:14:37 CET 2009


Hello,


ffmpeg fails to build with following message when --enable-avfilter is not
passed to configure :

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/home/cedric/svn/libavfilter/ffmpeg" -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -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       -c -o ffmpeg.o
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c
In file included from /home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:37:
/home/cedric/svn/libavfilter/ffmpeg/libavformat/framehook.h:25:2: warning:
#warning VHOOK is deprecated. Please help finishing libavfilter instead of
wasting your time writing new filters for this crappy filter system.
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c: In function 'output_packet':
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:1535: error: 'AVInputStream'
has no member named 'out_video_filter'
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:1535: warning: implicit
declaration of function 'avfilter_poll_frame'
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:1535: error: 'AVInputStream'
has no member named 'out_video_filter'
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:1627: error: 'AVInputStream'
has no member named 'out_video_filter'
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:1627: error: 'AVInputStream'
has no member named 'out_video_filter'
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c: In function 'opt_preset':
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:3951: warning: format not a
string literal and no format arguments
/home/cedric/svn/libavfilter/ffmpeg/ffmpeg.c:3951: warning: format not a
string literal and no format arguments
make: *** [ffmpeg.o] Error 1

Attached patch fixes this.


Regards,
C?dric Schieli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_disabled_avfilter_build.patch
Type: text/x-patch
Size: 2021 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090127/027604c1/attachment.bin>



More information about the ffmpeg-devel mailing list