Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-11-26 09:46:09 +0300
committerClaudio Freire <klaussfreire@gmail.com>2015-11-26 09:46:09 +0300
commit9078a694f3fbc2f4db189c9796badbea632dd58d (patch)
tree77b61256b44112751052ea1a1727b2279ff22a1d /libavcodec/aaccoder_twoloop.h
parent3b1cab9351f384f3a8d03dec58262d5b66920e30 (diff)
aaccoder_twoloop: Mark sfdiff as av_unused
Silences warning when building without assertions Signed-off-by: Claudio Freire <klaussfreire@gmail.com>
Diffstat (limited to 'libavcodec/aaccoder_twoloop.h')
-rw-r--r--libavcodec/aaccoder_twoloop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder_twoloop.h b/libavcodec/aaccoder_twoloop.h
index 5e64d48024..a47cd66889 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 */