summaryrefslogtreecommitdiff
path: root/libavformat/ogg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ogg.c')
-rw-r--r--libavformat/ogg.c12
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 ;
-}