[FFmpeg-devel] [PATCH] avcodec/aacsbr_template: Remove unused-but-set variable
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sun Jun 23 21:31:27 EEST 2024
Also fixes a -Wdeclaration-after-statement.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
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) ... */
--
2.40.1
More information about the ffmpeg-devel
mailing list