ffmpeg | branch: master | Timothy Gu <timothyg...@gmail.com> | Thu Nov 26 
03:46:09 2015 -0300| [9078a694f3fbc2f4db189c9796badbea632dd58d] | committer: 
Claudio Freire

aaccoder_twoloop: Mark sfdiff as av_unused

Silences warning when building without assertions

Signed-off-by: Claudio Freire <klaussfre...@gmail.com>

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

 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 5e64d48..a47cd66 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);
                 } else if (sce->zeroes[0]) {
                     /** Set global gain to something useful */

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to