swresample: remove unused variable.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 25 Sep 2011 11:36:03 +0000 (13:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 28 Sep 2011 14:11:01 +0000 (16:11 +0200)
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample.c

index db2d1df..20a1e64 100644 (file)
@@ -361,7 +361,6 @@ static int resample(SwrContext *s, AudioData *out_param, int out_count,
     AudioData in, out, tmp;
     int ret_sum=0;
     int border=0;
-    int ch_count= s->resample_first ? s->in.ch_count : s->out.ch_count;
 
     tmp=out=*out_param;
     in =  *in_param;