diff options
author | James Almer <jamrial@gmail.com> | 2021-03-05 11:26:24 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-17 14:12:17 -0300 |
commit | d422b2ed87ee7d3b3014cd3fac553e6aad7d4f14 (patch) | |
tree | 06b1f9e88cfab2675afd529468f47ab851f1bab3 /libavformat/internal.h | |
parent | f7db77bd8785d1715d3e7ed7e69bd1cc991f2d07 (diff) | |
download | ffmpeg-d422b2ed87ee7d3b3014cd3fac553e6aad7d4f14.tar.gz |
avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct
The next pointer is kept at the end for backwards compatability until the
major bump, when it should ideally be moved at the front.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 0ffdc87b6a..e913d958fc 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -73,8 +73,8 @@ struct AVFormatInternal { * not decoded, for example to get the codec parameters in MPEG * streams. */ - struct AVPacketList *packet_buffer; - struct AVPacketList *packet_buffer_end; + struct PacketList *packet_buffer; + struct PacketList *packet_buffer_end; /* av_seek_frame() support */ int64_t data_offset; /**< offset of the first packet */ @@ -85,13 +85,13 @@ struct AVFormatInternal { * be identified, as parsing cannot be done without knowing the * codec. */ - struct AVPacketList *raw_packet_buffer; - struct AVPacketList *raw_packet_buffer_end; + struct PacketList *raw_packet_buffer; + struct PacketList *raw_packet_buffer_end; /** * Packets split by the parser get queued here. */ - struct AVPacketList *parse_queue; - struct AVPacketList *parse_queue_end; + struct PacketList *parse_queue; + struct PacketList *parse_queue_end; /** * Remaining size available for raw_packet_buffer, in bytes. */ @@ -347,7 +347,7 @@ struct AVStreamInternal { /** * last packet in packet_buffer for this stream when muxing. */ - struct AVPacketList *last_in_packet_buffer; + struct PacketList *last_in_packet_buffer; }; #ifdef __GNUC__ |