diff mbox series

[FFmpeg-devel,01/18] avcodec/packet_internal: add a PacketListEntry struct

Message ID 20201118165247.4130-2-jamrial@gmail.com
State New
Headers show
Series AVPacketList public API | expand


Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

James Almer Nov. 18, 2020, 4:52 p.m. UTC
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 <jamrial@gmail.com>
 libavcodec/packet_internal.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series


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.