From f26255962c1dd516c6fc0a25e460ad538fa21ff6 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 23 Jun 2024 20:25:15 +0200 Subject: [PATCH] avcodec/aacsbr_template: Remove unused-but-set variable Also fixes a -Wdeclaration-after-statement. Signed-off-by: Andreas Rheinhardt --- libavcodec/aacsbr_template.c | 2 -- 1 file changed, 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) ... */