aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-10-14 04:15:53 +0000
committerMike Melanson <mike@multimedia.cx>2003-10-14 04:15:53 +0000
commit764ef400159b4f640eda8b22e8c7a20d6649a391 (patch)
tree2e359b478a7089f81c973e8153ce653ecadb39a8 /libavformat/mpegts.c
parenta003ee9a44eca32707eaa049171bc752ba3a9fde (diff)
downloadffmpeg-764ef400159b4f640eda8b22e8c7a20d6649a391.tar.gz
disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>) Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 2fd8bf8965..bcee8826c2 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1047,6 +1047,8 @@ AVInputFormat mpegts_demux = {
int mpegts_init(void)
{
av_register_input_format(&mpegts_demux);
+#ifdef CONFIG_ENCODERS
av_register_output_format(&mpegts_mux);
+#endif
return 0;
}