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

Andreas Rheinhardt git at videolan.org
Sun Jun 30 12:55:42 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jun 23 20:25:15 2024 +0200| [f26255962c1dd516c6fc0a25e460ad538fa21ff6] | committer: Andreas Rheinhardt

avcodec/aacsbr_template: Remove unused-but-set variable

Also fixes a -Wdeclaration-after-statement.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f26255962c1dd516c6fc0a25e460ad538fa21ff6
---

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



More information about the ffmpeg-cvslog mailing list