gifdec: remove dead store
authorPaul B Mahol <onemda@gmail.com>
Fri, 21 Dec 2012 00:33:14 +0000 (00:33 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 21 Dec 2012 00:33:14 +0000 (00:33 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/gifdec.c

index 077aef0..e58e19f 100644 (file)
@@ -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);