[Ffmpeg-devel] [PATCH] compile with demux only

Stefan Gehrer stefan.gehrer
Sat Nov 11 10:20:14 CET 2006


Loic wrote:
> Hi,
>
> I'm trying to compile libavformat and libavcodec with demuxers only (I
> have a test program which only dumps the raw streams inside any
> container). I'm using the configure line:
> ./configure --enable-gpl --disable-encoders --disable-muxers --disable-decoders
>
> And I observe the following errors when trying to link libavformat and
> libavcodec in my program:
> libavformat/libavformat.a(rtp.o): In function `rtp_check_and_send_back_rr':
> libavformat/rtp.c:387: undefined reference to `url_open_dyn_buf'
> libavformat/rtp.c:443: undefined reference to `url_close_dyn_buf'
> libavcodec/libavcodec.a(parser.o): In function `cavsvideo_parse':
> libavcodec/parser.c:376: undefined reference to `ff_cavs_find_frame_end'
>   
I found the time to do something about the cavs parsing.
As said before, I moved the parsing into cavs.c and added the
proper ifdefs. I also needed to make mpeg4video_split from
parser.c public and thus renamed it to ff_mpeg4video_split.
This should make it possible to build with any combination of
CONFIG_CAVSVIDEO_PARSER and CONFIG_CAVS_DECODER.

Regards
Stefan Gehrer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cavsparse.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061111/3c2109cd/attachment.txt>



More information about the ffmpeg-devel mailing list