diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-02 23:22:23 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-02 23:22:23 +0000 |
commit | f932cdf2096d57a0f22189ca9defdf3a15d4b674 (patch) | |
tree | f9ca557b231c1e17b6572e3d3a1c72187861dd12 /libavformat/gif.c | |
parent | 93481fe5fe092d2646a2ae6cccc4ffaaec5b0297 (diff) | |
download | ffmpeg-f932cdf2096d57a0f22189ca9defdf3a15d4b674.tar.gz |
kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r-- | libavformat/gif.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c index 03dc6dc265..1083710d5c 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -405,19 +405,6 @@ static int gif_write_trailer(AVFormatContext *s) return 0; } -/* better than nothing gif image writer */ -int gif_write(ByteIOContext *pb, AVImageInfo *info) -{ - gif_image_write_header(pb, info->width, info->height, AVFMT_NOOUTPUTLOOP, - (uint32_t *)info->pict.data[1]); - gif_image_write_image(pb, 0, 0, info->width, info->height, - info->pict.data[0], info->pict.linesize[0], - PIX_FMT_PAL8); - put_byte(pb, 0x3b); - put_flush_packet(pb); - return 0; -} - AVOutputFormat gif_muxer = { "gif", "GIF Animation", |