avresample/resample: remove unused variable
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Sep 2015 17:26:35 +0000 (13:26 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Sep 2015 21:40:34 +0000 (23:40 +0200)
This fixes a -Wunused-variable, see e.g
http://fate.ffmpeg.org/log.cgi?time=20150919162338&log=compile&slot=x86_64-archlinux-gcc-threads.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavresample/resample.c

index 8f920fa..651670d 100644 (file)
@@ -234,7 +234,6 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta,
                                 int compensation_distance)
 {
     ResampleContext *c;
-    AudioData *fifo_buf = NULL;
 
     if (compensation_distance < 0)
         return AVERROR(EINVAL);