X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fogg.c;h=915cdf8206b8337bb4ff1918080ad304e2de167b;hb=ba32c8dfd9efd5a9e595e4575425d39a333057fb;hp=f3be7e908b611f17291a220908e81b438c606b37;hpb=d2a067d1d9011bf1015fd23efcbfb20cd4f79e1a;p=ffmpeg diff --git a/libavformat/ogg.c b/libavformat/ogg.c index f3be7e908b6..915cdf8206b 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 ; -}