diff options
author | James Almer <jamrial@gmail.com> | 2021-01-30 15:04:24 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-17 15:06:48 -0300 |
commit | 9066969713e6a7bad0b76f1936ee60cac456bbe0 (patch) | |
tree | 9a3d8843d0ad25eed643f09645c4b613bfbfa41f /libavformat/internal.h | |
parent | 2995a1f2944a61bd054ededd51688d99bef260ce (diff) | |
download | ffmpeg-9066969713e6a7bad0b76f1936ee60cac456bbe0.tar.gz |
avformat/mux: use av_packet_alloc() to allocate packets
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index e913d958fc..02ff2fd77a 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -92,6 +92,11 @@ struct AVFormatInternal { */ struct PacketList *parse_queue; struct PacketList *parse_queue_end; + + /** + * Used to hold temporary packets. + */ + AVPacket *pkt; /** * Remaining size available for raw_packet_buffer, in bytes. */ |