summaryrefslogtreecommitdiff
path: root/libavformat/matroska.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r--libavformat/matroska.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 3d4fca681e..f36047e215 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -2635,7 +2635,7 @@ matroska_read_close (AVFormatContext *s)
return 0;
}
-static AVInputFormat matroska_demuxer = {
+AVInputFormat matroska_demuxer = {
"matroska",
"Matroska file format",
sizeof(MatroskaDemuxContext),
@@ -2644,10 +2644,3 @@ static AVInputFormat matroska_demuxer = {
matroska_read_packet,
matroska_read_close,
};
-
-int
-matroska_init(void)
-{
- av_register_input_format(&matroska_demuxer);
- return 0;
-}