summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorGildas Bazin <gbazi@altern.org>2006-01-19 22:30:37 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-19 22:30:37 +0000
commit6d276a9e91e5568dfbde5f48c8a465a038659a00 (patch)
treedaeb0881904d336469bbcf47a6bad0046ec6b673 /libavformat/mpegtsenc.c
parentd3ac6ed667872332efcb8c953bb45cbd125dbaab (diff)
Properly #ifdef muxer-specific parts.
Taken from a patch by Gildas Bazin < gbazin -- @@ -- altern -- . -- org > Originally committed as revision 4869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index e37f657a77..fafa0a7f78 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -79,6 +79,7 @@ unsigned int mpegts_crc32(const uint8_t *data, int len)
return crc;
}
+#ifdef CONFIG_MUXERS
/*********************************************/
/* mpegts section writer */
@@ -729,3 +730,4 @@ AVOutputFormat mpegts_mux = {
mpegts_write_packet,
mpegts_write_end,
};
+#endif // CONFIG_MUXERS