From 7b2ce507016db3b3c30a02b5c9bd9519e723eea1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 26 Apr 2012 23:44:50 +0200 Subject: [PATCH] swr-test: fix unused var warnings Signed-off-by: Michael Niedermayer --- libswresample/swresample_test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libswresample/swresample_test.c b/libswresample/swresample_test.c index 1e1b80c45c..2148c28895 100644 --- a/libswresample/swresample_test.c +++ b/libswresample/swresample_test.c @@ -216,8 +216,7 @@ static void audiogen(void *data, enum AVSampleFormat sample_fmt, } int main(int argc, char **argv){ - int in_sample_rate, out_sample_rate, ch ,i, in_ch_layout_index, out_ch_layout_index, osr, flush_count; - int in_sample_fmt_index, out_sample_fmt_index; + int in_sample_rate, out_sample_rate, ch ,i, flush_count; uint64_t in_ch_layout, out_ch_layout; enum AVSampleFormat in_sample_fmt, out_sample_fmt; uint8_t array_in[SAMPLES*8*8]; @@ -333,7 +332,7 @@ int main(int argc, char **argv){ out_count= swr_convert(backw_ctx,aout, SAMPLES, amid, mid_count); for(ch=0; ch