This will functionally replace AVPacketList as it currently stands, and is the 
first step in preparation
for a new public AVPacketList API

Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavcodec/packet_internal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/packet_internal.h b/libavcodec/packet_internal.h
index 832ddb4a61..9b9bef94f0 100644
--- a/libavcodec/packet_internal.h
+++ b/libavcodec/packet_internal.h
@@ -23,6 +23,10 @@
 
 #include "packet.h"
 
+typedef struct PacketListEntry {
+    AVPacket pkt;
+    struct PacketListEntry *next;
+} PacketListEntry;
 
 /**
  * Append an AVPacket to the list.
-- 
2.29.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to