aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aaccoder_trellis.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-01 09:45:10 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-05 03:28:45 +0200
commit386990a955c55e06dac278ea4d6cef940fb58e12 (patch)
tree47c341eeda0f195389552a1ea32f8538b7626e93 /libavcodec/aaccoder_trellis.h
parentd23cb45c1c482c5fcedfd2d83bfd912690709871 (diff)
downloadffmpeg-386990a955c55e06dac278ea4d6cef940fb58e12.tar.gz
avcodec/aacenc_quantization: Remove always-zero function parameter
rtz is only ever nonzero for quantize_and_encode_band(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aaccoder_trellis.h')
-rw-r--r--libavcodec/aaccoder_trellis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder_trellis.h b/libavcodec/aaccoder_trellis.h
index 940ebf029d..4810ff3208 100644
--- a/libavcodec/aaccoder_trellis.h
+++ b/libavcodec/aaccoder_trellis.h
@@ -127,7 +127,7 @@ static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce,
&s->scoefs[start + w*128], size,
sce->sf_idx[win*16+swb],
aac_cb_out_map[cb],
- 0, INFINITY, NULL, NULL, 0);
+ 0, INFINITY, NULL, NULL);
}
cost_stay_here = path[swb][cb].cost + bits;
cost_get_here = minbits + bits + run_bits + 4;