[FFmpeg-cvslog] avresample/resample: remove unused variable

Ganesh Ajjanagadde git at videolan.org
Sat Sep 19 23:51:41 CEST 2015


ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Sat Sep 19 13:26:35 2015 -0400| [39ca7641c8c8ce7031dc67584067dc1faecd6a2d] | committer: Michael Niedermayer

avresample/resample: remove unused variable

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 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39ca7641c8c8ce7031dc67584067dc1faecd6a2d
---

 libavresample/resample.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavresample/resample.c b/libavresample/resample.c
index 8f920fa..651670d 100644
--- a/libavresample/resample.c
+++ b/libavresample/resample.c
@@ -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);



More information about the ffmpeg-cvslog mailing list