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

Måns Rullgård mru
Sat Nov 11 14:42:55 CET 2006


Stefan Gehrer <stefan.gehrer at gmx.de> writes:

> 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.

Patch seems ok at first glance, but needs to be split.  The renaming
of mpeg4video_split to ff_mpeg4video_split and making it extern should
be done first, then the cavs parser can be made to use it.  The rename
and staticizing of cavs_flush should also be done separately.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list