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 e816b39fb2 avcodec/aacenc: Make AACPCEInfo smaller
e816b39fb2 is described below
commit e816b39fb2fb492e8fe2241e74338d764ab57b80
Author: Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Jun 4 18:59:47 2026 +0200
Commit: James Almer <[email protected]>
CommitDate: Thu Jun 4 19:17:43 2026 +0000
avcodec/aacenc: Make AACPCEInfo smaller
Reduces sizeof(AACPCEInfo) from 296 to 120 bytes.
This reduces .rodata by 4576B here.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/aacenc.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 51a216e6d0..61a9e6102b 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -167,9 +167,9 @@ typedef struct AACQuantizeBandCostCacheEntry {
typedef struct AACPCEInfo {
AVChannelLayout layout;
- int num_ele[4]; ///< front, side, back, lfe
- int pairing[3][8]; ///< front, side, back
- int index[4][8]; ///< front, side, back, lfe
+ uint8_t num_ele[4]; ///< front, side, back, lfe
+ uint8_t pairing[3][8]; ///< front, side, back
+ uint8_t index[4][8]; ///< front, side, back, lfe
uint8_t config_map[16]; ///< configs the encoder's
channel specific settings
uint8_t reorder_map[16]; ///< maps channels from lavc
to aac order
} AACPCEInfo;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]