From 386990a955c55e06dac278ea4d6cef940fb58e12 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 1 Aug 2022 09:45:10 +0200 Subject: avcodec/aacenc_quantization: Remove always-zero function parameter rtz is only ever nonzero for quantize_and_encode_band(). Signed-off-by: Andreas Rheinhardt --- libavcodec/aacenc_ltp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/aacenc_ltp.c') diff --git a/libavcodec/aacenc_ltp.c b/libavcodec/aacenc_ltp.c index f77f0b6a72..f7fb85bbf8 100644 --- a/libavcodec/aacenc_ltp.c +++ b/libavcodec/aacenc_ltp.c @@ -194,11 +194,11 @@ void ff_aac_search_for_ltp(AACEncContext *s, SingleChannelElement *sce, s->abs_pow34(PCD34, PCD, sce->ics.swb_sizes[g]); dist1 += quantize_band_cost(s, &sce->coeffs[start+(w+w2)*128], C34, sce->ics.swb_sizes[g], sce->sf_idx[(w+w2)*16+g], sce->band_type[(w+w2)*16+g], - s->lambda/band->threshold, INFINITY, &bits_tmp1, NULL, 0); + s->lambda/band->threshold, INFINITY, &bits_tmp1, NULL); dist2 += quantize_band_cost(s, PCD, PCD34, sce->ics.swb_sizes[g], sce->sf_idx[(w+w2)*16+g], sce->band_type[(w+w2)*16+g], - s->lambda/band->threshold, INFINITY, &bits_tmp2, NULL, 0); + s->lambda/band->threshold, INFINITY, &bits_tmp2, NULL); bits1 += bits_tmp1; bits2 += bits_tmp2; } -- cgit v1.2.3