diff options
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", |