On Sat, Sep 19, 2015 at 1:26 PM, Ganesh Ajjanagadde
<gajjanaga...@gmail.com> wrote:
> 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 <gajjanaga...@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
>

I recall something like swresample is what FFmpeg cares about,
avresample is for libav compatibility. I personally do not care what
libav does with this stuff; but at the moment it is a warning that
affects FFmpeg, hence I am sending it here.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to