[SCM] libav/experimental: Remove unused variables, fixes the following warnings: siff.c:187: warning: unused variable 'snddata' siff.c:186: warning: unused variable 'size2'

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:08:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 1d5fab9b33d30ba34e986fcf64e696e8fc1acc87
Author: Diego Biurrun <diego at biurrun.de>
Date:   Wed Oct 31 11:35:10 2007 +0000

    Remove unused variables, fixes the following warnings:
    siff.c:187: warning: unused variable 'snddata'
    siff.c:186: warning: unused variable 'size2'
    
    Originally committed as revision 10884 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/siff.c b/libavformat/siff.c
index e64b2a9..7adccb2 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)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list