[FFmpeg-devel] [PATCH] avresample/resample: remove unused variable
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Sat Sep 19 19:26:35 CEST 2015
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>
---
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);
--
2.5.2
More information about the ffmpeg-devel
mailing list