summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 88a0680948..b0122dac48 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -840,7 +840,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
return 0;
}
-static AVInputFormat asf_demuxer = {
+AVInputFormat asf_demuxer = {
"asf",
"asf format",
sizeof(ASFContext),
@@ -851,18 +851,3 @@ static AVInputFormat asf_demuxer = {
asf_read_seek,
asf_read_pts,
};
-
-#ifdef CONFIG_MUXERS
- extern AVOutputFormat asf_muxer;
- extern AVOutputFormat asf_stream_muxer;
-#endif //CONFIG_MUXERS
-
-int asf_init(void)
-{
- av_register_input_format(&asf_demuxer);
-#ifdef CONFIG_MUXERS
- av_register_output_format(&asf_muxer);
- av_register_output_format(&asf_stream_muxer);
-#endif //CONFIG_MUXERS
- return 0;
-}