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

Vitor Sessak vitor1001
Tue Jan 27 21:57:54 CET 2009


C?dric Schieli wrote:
> 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.

Obviously correct, applied.

-Vitor




More information about the ffmpeg-devel mailing list