[Ffmpeg-devel] error compiling ffmpeg.c
Víctor Paesa
wzrlpy
Mon Aug 14 16:30:34 CEST 2006
Hi
> gcc -O3 -g -Wall -Wno-switch -I. -I/space/ffmpeg
> -I/space/ffmpeg/libavutil -I/space/ffmpeg/libavcodec
> -I/space/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_ISOC9X_SOURCE -c -o ffmpeg.o ffmpeg.c
> In file included from /space/ffmpeg/libavformat/avformat.h:18,
> from ffmpeg.c:21:
> /space/ffmpeg/libavformat/avio.h:6: warning: redefinition of `offset_t'
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/sys/types.h:233:
> warning: `offset_t' previously declared here
> ffmpeg.c: In function `opt_input_file':
> ffmpeg.c:2807: error: structure has no member named `loop_input'
> gmake: *** [ffmpeg.o] Error 1
>
> line 2807 of ffmpeg.c :
>
> ic->loop_input = loop_input;
>
> line 163 of ffmpeg.c:
>
> static int loop_input = 0;
>
Maybe are you using old includes? The loop_input member was added
recently to AVFormatContext in avformat.h
Check how many avformat.h have you got around, and try
"make distclean" just in case.
Regards,
V?ctor Paesa
More information about the ffmpeg-devel
mailing list