diff options
author | Mans Rullgard <mans@mansr.com> | 2011-06-01 17:26:27 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-06-02 20:06:00 +0100 |
commit | e65ab9d94f1c8d8893e32d90467d9525625d306a (patch) | |
tree | 032ea02dc36a1510af2807848d961f024e8a052e /libavformat/gif.c | |
parent | 808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff) | |
download | ffmpeg-e65ab9d94f1c8d8893e32d90467d9525625d306a.tar.gz |
Remove unused variables
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r-- | libavformat/gif.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c index dfd2ec16e8..55deb4d207 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -295,9 +295,7 @@ static int gif_write_video(AVFormatContext *s, AVCodecContext *enc, const uint8_t *buf, int size) { AVIOContext *pb = s->pb; - GIFContext *gif = s->priv_data; int jiffies; - int64_t delay; /* graphic control extension block */ avio_w8(pb, 0x21); @@ -307,8 +305,6 @@ static int gif_write_video(AVFormatContext *s, /* 1 jiffy is 1/70 s */ /* the delay_time field indicates the number of jiffies - 1 */ - delay = gif->file_time - gif->time; - /* XXX: should use delay, in order to be more accurate */ /* instead of using the same rounded value each time */ /* XXX: don't even remember if I really use it for now */ |