[FFmpeg-cvslog] gifdec: remove dead store
Paul B Mahol
git at videolan.org
Fri Dec 21 01:36:26 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Dec 21 00:33:14 2012 +0000| [cfa530034f25e5fc96b9c4fd619e90ed1b094fa2] | committer: Paul B Mahol
gifdec: remove dead store
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cfa530034f25e5fc96b9c4fd619e90ed1b094fa2
---
libavcodec/gifdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 077aef0..e58e19f 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -314,7 +314,6 @@ static int gif_read_extension(GifState *s)
if (bytestream2_get_bytes_left(&s->gb) < 5)
return AVERROR_INVALIDDATA;
- s->transparent_color_index = -1;
gce_flags = bytestream2_get_byteu(&s->gb);
bytestream2_skipu(&s->gb, 2); // delay during which the frame is shown
gce_transparent_index = bytestream2_get_byteu(&s->gb);
More information about the ffmpeg-cvslog
mailing list