diff mpegts.c @ 277:a313e1080322 libavformat

disable encoders where appropriate (patch courtesy of BERO <bero -at- geocities.co.jp>)
author melanson
date Tue, 14 Oct 2003 04:15:53 +0000
parents 0543d27721c1
children dcc3f5510818
line wrap: on
line diff
--- a/mpegts.c	Mon Oct 13 10:59:57 2003 +0000
+++ b/mpegts.c	Tue Oct 14 04:15:53 2003 +0000
@@ -1047,6 +1047,8 @@
 int mpegts_init(void)
 {
     av_register_input_format(&mpegts_demux);
+#ifdef CONFIG_ENCODERS
     av_register_output_format(&mpegts_mux);
+#endif
     return 0;
 }