summaryrefslogtreecommitdiff
path: root/libavformat/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r--libavformat/gif.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c
index f0e47b334d..bef98d3ac4 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -414,7 +414,7 @@ int gif_write(ByteIOContext *pb, AVImageInfo *info)
return 0;
}
-static AVOutputFormat gif_muxer = {
+AVOutputFormat gif_muxer = {
"gif",
"GIF Animation",
"image/gif",
@@ -426,12 +426,3 @@ static AVOutputFormat gif_muxer = {
gif_write_packet,
gif_write_trailer,
};
-
-extern AVInputFormat gif_demuxer;
-
-int gif_init(void)
-{
- av_register_output_format(&gif_muxer);
- av_register_input_format(&gif_demuxer);
- return 0;
-}