]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/packet_internal: move the next pointer in PacketList to the top of the struct
authorJames Almer <jamrial@gmail.com>
Tue, 27 Apr 2021 22:20:37 +0000 (19:20 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 27 Apr 2021 22:20:37 +0000 (19:20 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/packet_internal.h

index b1d91f634725c644a71a8d5685c359940f0b8082..a10931c106e547da1b5e3ffd38049557615052e3 100644 (file)
@@ -24,8 +24,8 @@
 #include "packet.h"
 
 typedef struct PacketList {
-    AVPacket pkt;
     struct PacketList *next;
+    AVPacket pkt;
 } PacketList;
 
 /**