summaryrefslogtreecommitdiff
path: root/libavformat/ogg2.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/ogg2.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/ogg2.c')
-rw-r--r--libavformat/ogg2.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c
index 1d49e21116..2af5a4f9aa 100644
--- a/libavformat/ogg2.c
+++ b/libavformat/ogg2.c
@@ -65,7 +65,7 @@ ogg_write_trailer (AVFormatContext * avfcontext)
}
-static AVOutputFormat ogg_muxer = {
+AVOutputFormat ogg_muxer = {
"ogg",
"Ogg Vorbis",
"audio/x-vorbis",
@@ -656,7 +656,7 @@ static int ogg_probe(AVProbeData *p)
return 0;
}
-static AVInputFormat ogg_demuxer = {
+AVInputFormat ogg_demuxer = {
"ogg",
"Ogg",
sizeof (ogg_t),
@@ -668,13 +668,3 @@ static AVInputFormat ogg_demuxer = {
// ogg_read_timestamp,
.extensions = "ogg",
};
-
-int
-ogg_init (void)
-{
-#if 0 // CONFIG_MUXERS
- av_register_output_format (&ogg_muxer);
-#endif
- av_register_input_format (&ogg_demuxer);
- return 0;
-}