[FFmpeg-devel] [PATCH 3/4] avcodec/aacdec: Move buffer to reduce padding

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Mar 1 05:08:34 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/aacdec.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/aacdec.h b/libavcodec/aacdec.h
index e23310b5b1..1b245f9258 100644
--- a/libavcodec/aacdec.h
+++ b/libavcodec/aacdec.h
@@ -207,6 +207,7 @@ typedef struct AACDecContext {
      * @{
      */
     DECLARE_ALIGNED(32, INTFLOAT, buf_mdct)[1024];
+    DECLARE_ALIGNED(32, INTFLOAT, temp)[128];
     /** @} */
 
     /**
@@ -254,8 +255,6 @@ typedef struct AACDecContext {
 
     enum AACOutputChannelOrder output_channel_order;
 
-    DECLARE_ALIGNED(32, INTFLOAT, temp)[128];
-
     OutputConfiguration oc[2];
     int warned_num_aac_frames;
     int warned_960_sbr;
-- 
2.40.1



More information about the ffmpeg-devel mailing list