diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-10 21:14:37 +0000 |
commit | ff70e60176056daf646109b8e42654a3036fa02b (patch) | |
tree | 42e32d1e4bff334964cf93766ff2da6ee9a8f1d3 /libavformat/ogg.c | |
parent | 4cac0d5589ab1a076e977425925015f2c8e591a8 (diff) | |
download | ffmpeg-ff70e60176056daf646109b8e42654a3036fa02b.tar.gz |
allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg.c')
-rw-r--r-- | libavformat/ogg.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libavformat/ogg.c b/libavformat/ogg.c index f3be7e908b..915cdf8206 100644 --- a/libavformat/ogg.c +++ b/libavformat/ogg.c @@ -137,7 +137,7 @@ static int ogg_write_trailer(AVFormatContext *avfcontext) { } -static AVOutputFormat ogg_muxer = { +AVOutputFormat ogg_muxer = { "ogg", "Ogg Vorbis", "audio/x-vorbis", @@ -254,7 +254,7 @@ static int ogg_read_close(AVFormatContext *avfcontext) { } -static AVInputFormat ogg_demuxer = { +static AVInputFormat ogg_iformat = { "ogg", "Ogg Vorbis", sizeof(OggContext), @@ -265,11 +265,3 @@ static AVInputFormat ogg_demuxer = { .extensions = "ogg", } ; #endif - -int libogg_init(void) { -#ifdef CONFIG_MUXERS - av_register_output_format(&ogg_muxer) ; -#endif -/* av_register_input_format(&ogg_demuxer); */ - return 0 ; -} |