OSDN Git Service

remove unused var
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 25 Apr 2008 15:10:33 +0000 (15:10 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 25 Apr 2008 15:10:33 +0000 (15:10 +0000)
Originally committed as revision 12967 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/adpcm.c

index f17fa62..7db776d 100644 (file)
@@ -667,7 +667,7 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
 static av_cold int adpcm_decode_init(AVCodecContext * avctx)
 {
     ADPCMContext *c = avctx->priv_data;
-    unsigned int max_channels = 2, channel;
+    unsigned int max_channels = 2;
 
     switch(avctx->codec->id) {
     case CODEC_ID_ADPCM_EA_R1: