summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-01-30 15:04:24 -0300
committerJames Almer <jamrial@gmail.com>2021-03-17 15:06:48 -0300
commit9066969713e6a7bad0b76f1936ee60cac456bbe0 (patch)
tree9a3d8843d0ad25eed643f09645c4b613bfbfa41f /libavformat/internal.h
parent2995a1f2944a61bd054ededd51688d99bef260ce (diff)
downloadffmpeg-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.h5
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.
*/