summaryrefslogtreecommitdiff
path: root/libavformat/mm.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-07-10 21:14:37 +0000
committerMåns Rullgård <mans@mansr.com>2006-07-10 21:14:37 +0000
commitff70e60176056daf646109b8e42654a3036fa02b (patch)
tree42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/mm.c
parent4cac0d5589ab1a076e977425925015f2c8e591a8 (diff)
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mm.c')
-rw-r--r--libavformat/mm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/mm.c b/libavformat/mm.c
index 8252f11b0b..3c34ef05c4 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -199,7 +199,7 @@ static int mm_read_close(AVFormatContext *s)
return 0;
}
-static AVInputFormat mm_demuxer = {
+AVInputFormat mm_demuxer = {
"mm",
"American Laser Games MM format",
sizeof(MmDemuxContext),
@@ -208,9 +208,3 @@ static AVInputFormat mm_demuxer = {
mm_read_packet,
mm_read_close,
};
-
-int mm_init(void)
-{
- av_register_input_format(&mm_demuxer);
- return 0;
-}