[FFmpeg-cvslog] avcodec/packet_internal: move the next pointer in PacketList to the top of the struct

James Almer git at videolan.org
Wed Apr 28 01:22:00 EEST 2021


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr 27 19:20:37 2021 -0300| [0814610ee35614e417d6942784f7b299f2414a9b] | committer: James Almer

avcodec/packet_internal: move the next pointer in PacketList to the top of the struct

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/packet_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/packet_internal.h b/libavcodec/packet_internal.h
index b1d91f6347..a10931c106 100644
--- a/libavcodec/packet_internal.h
+++ b/libavcodec/packet_internal.h
@@ -24,8 +24,8 @@
 #include "packet.h"
 
 typedef struct PacketList {
-    AVPacket pkt;
     struct PacketList *next;
+    AVPacket pkt;
 } PacketList;
 
 /**



More information about the ffmpeg-cvslog mailing list