diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-12-11 07:57:22 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-12-15 14:05:33 +0100 |
commit | 2ac34d085427a65a9724dda475f5971d005ee29d (patch) | |
tree | 48408dd0d83e732af0bf2d392c67e941e5616089 /libavcodec/packet.h | |
parent | 2e956d9c0f98a9b6fe1a0a3a858ab6d1fa4ec500 (diff) | |
download | ffmpeg-2ac34d085427a65a9724dda475f5971d005ee29d.tar.gz |
lavc/packet: add API for an AVPacket-based AVContainerFifo
Diffstat (limited to 'libavcodec/packet.h')
-rw-r--r-- | libavcodec/packet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/packet.h b/libavcodec/packet.h index bcc1917e8d..c1f1ad7b43 100644 --- a/libavcodec/packet.h +++ b/libavcodec/packet.h @@ -881,6 +881,13 @@ int av_packet_make_writable(AVPacket *pkt); void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst); /** + * Allocate an AVContainerFifo instance for AVPacket. + * + * @param flags currently unused + */ +struct AVContainerFifo *av_container_fifo_alloc_avpacket(unsigned flags); + +/** * @} */ |