[FFmpeg-cvslog] avformat/spdifenc: Reorder struct members to make it smaller

Andreas Rheinhardt git at videolan.org
Tue Sep 20 19:49:05 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Sep 18 00:39:42 2022 +0200| [d438540d2b2f4aea86a2c475b690b8bc1bff7d0e] | committer: Andreas Rheinhardt

avformat/spdifenc: Reorder struct members to make it smaller

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

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

 libavformat/spdifenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 7b8e231cff..2861f828b4 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -410,8 +410,8 @@ static const uint8_t mat_end_code[16] = {
 
 static const struct {
     unsigned int pos;
-    const uint8_t *code;
     unsigned int len;
+    const uint8_t *code;
 } mat_codes[] = {
     MAT_CODE(0, mat_start_code),
     MAT_CODE(30708, mat_middle_code),



More information about the ffmpeg-cvslog mailing list