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@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
e681baf638
commit
39ca7641c8
@@ -234,7 +234,6 @@ int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta,
|
|||||||
int compensation_distance)
|
int compensation_distance)
|
||||||
{
|
{
|
||||||
ResampleContext *c;
|
ResampleContext *c;
|
||||||
AudioData *fifo_buf = NULL;
|
|
||||||
|
|
||||||
if (compensation_distance < 0)
|
if (compensation_distance < 0)
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user