This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 1659781894 avcodec/aacdec: fix double-increment of height_tags in loop
1659781894 is described below
commit 16597818946c944c44a6166b7e3807a477794abd
Author: Zhao Zhili <[email protected]>
AuthorDate: Mon Jun 15 16:59:32 2026 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Mon Jun 15 17:45:16 2026 +0800
avcodec/aacdec: fix double-increment of height_tags in loop
Signed-off-by: Zhao Zhili <[email protected]>
---
libavcodec/aac/aacdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aac/aacdec.c b/libavcodec/aac/aacdec.c
index 52e3e73ed0..202c7aa30c 100644
--- a/libavcodec/aac/aacdec.c
+++ b/libavcodec/aac/aacdec.c
@@ -948,7 +948,7 @@ static int decode_pce(AVCodecContext *avctx,
MPEG4AudioConfig *m4ac,
memcpy(layout_map + height_tags,
&tag[AAC_CHANNEL_LFE][j], sizeof(*layout_map));
height_tags++;
}
- for (int j = 0; j < num_cc; j++, height_tags++) {
+ for (int j = 0; j < num_cc; j++) {
memcpy(layout_map + height_tags,
&tag[AAC_CHANNEL_CC][j], sizeof(*layout_map));
height_tags++;
}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]