[FFmpeg-devel] PATCH: missing "bistream.h" include in libavcodec/asv1.c

Aurelien Jacobs aurel
Tue Aug 21 17:48:13 CEST 2007

On Tue, 21 Aug 2007 13:06:58 +0200
Lo?c Minier <lool at dooz.org> wrote:

>         Hi,
>  An up-to-date checkout of ffmpeg was failing to build for me with:
> gcc -L"/home/lool/svn/mplayer/ffmpeg"/libavformat -L"/home/lool/svn/mplayer/ffmpeg"/libavcodec -L"/home/lool/svn/mplayer/ffmpeg"/libavutil -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/home/lool/svn/mplayer/ffmpeg"/libavcodec -Wl,-rpath-link,"/home/lool/svn/mplayer/ffmpeg"/libavformat -Wl,-rpath-link,"/home/lool/svn/mplayer/ffmpeg"/libavutil -g -o ffmpeg_g ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldl   
> /home/lool/svn/mplayer/ffmpeg/libavcodec/libavcodec.a(asv1.o): In function `init_vlcs':
> /home/lool/svn/mplayer/ffmpeg/libavcodec/asv1.c:121: undefined reference to `init_vlc'
> /home/lool/svn/mplayer/ffmpeg/libavcodec/asv1.c:124: undefined reference to `init_vlc'
> ...
>  The attached patch fixed the problem here.

There should not be any problem, because mpegvideo.h already include
bitstream.h. So this patch shouldn't change anything.
Still, asv1.c uses GetBitContext directly, so it should indeed
include bitstream.h directly for consistency.
Patch applied.


More information about the ffmpeg-devel mailing list