added GIF image format (both read and write)

Originally committed as revision 1541 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Fabrice Bellard 22 years ago
parent ba19f84810
commit cdc90af008
  1. 1
      libavformat/allformats.c
  2. 1
      libavformat/avformat.h

@ -77,6 +77,7 @@ void av_register_all(void)
av_register_image_format(&yuv_image_format); av_register_image_format(&yuv_image_format);
av_register_image_format(&png_image_format); av_register_image_format(&png_image_format);
av_register_image_format(&jpeg_image_format); av_register_image_format(&jpeg_image_format);
av_register_image_format(&gif_image_format);
/* file protocols */ /* file protocols */
register_protocol(&file_protocol); register_protocol(&file_protocol);

@ -237,6 +237,7 @@ extern AVImageFormat pgmyuv_image_format;
extern AVImageFormat yuv_image_format; extern AVImageFormat yuv_image_format;
extern AVImageFormat png_image_format; extern AVImageFormat png_image_format;
extern AVImageFormat jpeg_image_format; extern AVImageFormat jpeg_image_format;
extern AVImageFormat gif_image_format;
/* XXX: use automatic init with either ELF sections or C file parser */ /* XXX: use automatic init with either ELF sections or C file parser */
/* modules */ /* modules */

Loading…
Cancel
Save