aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-23 20:25:15 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-30 11:32:27 +0200
commitf26255962c1dd516c6fc0a25e460ad538fa21ff6 (patch)
tree601911e5b8a396576acd6234b537958e5156fafe
parent0d5e3f5a4034b6c9312b7c621e25aa4303a00b6f (diff)
downloadffmpeg-f26255962c1dd516c6fc0a25e460ad538fa21ff6.tar.gz
avcodec/aacsbr_template: Remove unused-but-set variable
Also fixes a -Wdeclaration-after-statement. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/aacsbr_template.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aacsbr_template.c b/libavcodec/aacsbr_template.c
index e5bc4d4659..436b549fe7 100644
--- a/libavcodec/aacsbr_template.c
+++ b/libavcodec/aacsbr_template.c
@@ -1268,8 +1268,6 @@ int ff_aac_sbr_decode_usac_data(AACDecContext *ac, ChannelElement *che,
sbr->ready_for_dequant = 1;
- int start = get_bits_count(gb);
-
if (sbr_ch == 1) { /* sbr_single_channel_element */
/* if (harmonicSBR) ... */