From cdc90af00835297b8d5f3f06c47cf2c53267c3a3 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 3 Feb 2003 22:53:10 +0000 Subject: [PATCH] added GIF image format (both read and write) Originally committed as revision 1541 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/allformats.c | 1 + libavformat/avformat.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libavformat/allformats.c b/libavformat/allformats.c index ce1a87ceeb..6303dc2b18 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -77,6 +77,7 @@ void av_register_all(void) av_register_image_format(&yuv_image_format); av_register_image_format(&png_image_format); av_register_image_format(&jpeg_image_format); + av_register_image_format(&gif_image_format); /* file protocols */ register_protocol(&file_protocol); diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e4b57003ac..a6c2f25835 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -237,6 +237,7 @@ extern AVImageFormat pgmyuv_image_format; extern AVImageFormat yuv_image_format; extern AVImageFormat png_image_format; extern AVImageFormat jpeg_image_format; +extern AVImageFormat gif_image_format; /* XXX: use automatic init with either ELF sections or C file parser */ /* modules */