[FFmpeg-devel] [RFC] Always compile rtp.o and avs.o

Måns Rullgård mans
Wed Jan 13 17:25:43 CET 2010


Luca Abeni <lucabe72 at email.it> writes:

> Hi all,
>
> the attached patch allows to remove one "#if" from
> sdp.c, simplifying the dependencies. To do this,
> both rtp.c (containing a table and some functions
> to map codec IDs to payload types, and vice versa - no
> network dependencies) and avs.c (needed to generate
> the H.264 config information in the SDP) need to be
> compiled unconditionally.
>
> The only drawback I can see is that the size of
> libavformat with RTP, flv muxer, mov muxer and
> matroska muxer disabled is slightly increased.

That would be a step in the wrong direction IMO.  We should be making
FFmpeg more modular, not less.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list