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

Luca Abeni lucabe72
Wed Jan 13 17:15:44 CET 2010

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.

Comments welcome.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile_sdp-1.diff
Type: text/x-diff
Size: 3826 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100113/8f6adf63/attachment.diff>

More information about the ffmpeg-devel mailing list