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

Diego Biurrun diego
Thu Nov 30 00:32:21 CET 2006


On Wed, Nov 29, 2006 at 07:30:50PM +0100, Lo?c Le Loarer wrote:
> Le Saturday 11 November 2006 ? 10:20:14 +0100, Stefan Gehrer a ?crit:
> > Loic wrote:
> > >
> > >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 splited and then applied]
> 
> Thank you very much for your change, Stefan!
> 
> There is only one small problem left to have libavformat compile with
> --disable-muxers option to configure :
> 
> libavformat/libavformat.a(rtp.o): In function ? rtp_check_and_send_back_rr ?:
> libavformat/rtp.c:381: undefined reference to `url_open_dyn_buf'
> libavformat/rtp.c:437: undefined reference to `url_close_dyn_buf'
> collect2: ld returned 1 exit status
> 
> Please find attached the patch I haved tested to fix the problem.
> 
> What do you think of this.

Thanks, applied.

Diego




More information about the ffmpeg-devel mailing list