summaryrefslogtreecommitdiff
path: root/libavformat/wc3movie.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wc3movie.c')
-rw-r--r--libavformat/wc3movie.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c
index 2eafd9f3d1..5765cf4d0b 100644
--- a/libavformat/wc3movie.c
+++ b/libavformat/wc3movie.c
@@ -381,7 +381,7 @@ static int wc3_read_close(AVFormatContext *s)
return 0;
}
-static AVInputFormat wc3_demuxer = {
+AVInputFormat wc3_demuxer = {
"wc3movie",
"Wing Commander III movie format",
sizeof(Wc3DemuxContext),
@@ -390,9 +390,3 @@ static AVInputFormat wc3_demuxer = {
wc3_read_packet,
wc3_read_close,
};
-
-int wc3_init(void)
-{
- av_register_input_format(&wc3_demuxer);
- return 0;
-}