summaryrefslogtreecommitdiff
path: root/libavformat/gif.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-02-02 19:16:51 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-02-02 19:16:51 +0000
commit12b64a225296e1c356a2bd69909abc541deb714c (patch)
tree093f44ca5217bc497505a13847ec6e4769dd7bdd /libavformat/gif.c
parenta26058a50d3f9501701c4492dd78516509bc537d (diff)
added animated GIF decoder (pts and various disposal handling are missing)
Originally committed as revision 1533 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r--libavformat/gif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c
index 6becf52a49..5791502fda 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -367,9 +367,11 @@ static AVOutputFormat gif_oformat = {
gif_write_packet,
gif_write_trailer,
};
+extern AVInputFormat gif_iformat;
int gif_init(void)
{
av_register_output_format(&gif_oformat);
+ av_register_input_format(&gif_iformat);
return 0;
}