On Sun, Nov 8, 2015 at 2:01 AM, Timothy Gu <timothyg...@gmail.com> wrote: > --- > libavcodec/aaccoder_twoloop.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/aaccoder_twoloop.h b/libavcodec/aaccoder_twoloop.h > index e53257f..328d7c8 100644 > --- a/libavcodec/aaccoder_twoloop.h > +++ b/libavcodec/aaccoder_twoloop.h > @@ -691,7 +691,7 @@ static void search_for_quantizers_twoloop(AVCodecContext > *avctx, > /** Check that there's no SF delta range violations */ > if (!sce->zeroes[w*16+g]) { > if (prev != -1) { > - int sfdiff = sce->sf_idx[w*16+g] - prev + > SCALE_DIFF_ZERO; > + av_unused int sfdiff = sce->sf_idx[w*16+g] - prev + > SCALE_DIFF_ZERO; > av_assert1(sfdiff >= 0 && sfdiff <= 2*SCALE_MAX_DIFF); > } > prev = sce->sf_idx[w*16+g]; > -- > 2.1.4
This particular piece of code is going to disappear soon, so not sure it's worth applying the patch. Is the warning causing any troubles? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel