diff mbox series

[FFmpeg-devel] avcodec/aacsbr_template: Remove unused-but-set variable

Message ID DU0P250MB074710732E4B73999B9D94838FCB2@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM
State New
Headers show
Series [FFmpeg-devel] avcodec/aacsbr_template: Remove unused-but-set variable | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt June 23, 2024, 6:31 p.m. UTC
Also fixes a -Wdeclaration-after-statement.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/aacsbr_template.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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) ... */