diff --git a/libavformat/siff.c b/libavformat/siff.c
index e64b2a9b049cc6d74c039ce1f476917589f6cf34..7adccb2ebaeaf2a8aaa32623e1904835f5a1fa75 100644
--- a/libavformat/siff.c
+++ b/libavformat/siff.c
@@ -183,8 +183,7 @@ static int siff_read_header(AVFormatContext *s, AVFormatParameters *ap)
 static int siff_read_packet(AVFormatContext *s, AVPacket *pkt)
 {
     SIFFContext *c = s->priv_data;
-    int size, size2;
-    uint8_t *snddata;
+    int size;
 
     if (c->has_video){
         if (c->cur_frame >= c->frames)