summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-01-29 11:13:18 -0300
committerJames Almer <jamrial@gmail.com>2021-03-17 15:06:49 -0300
commitecdad29b67b88e8912647861157323a852a7cbb5 (patch)
treebbf0da1ae9d7ce06cfb08b98ad0174648d6015a4 /libavformat/movenc.h
parent2e80435a9ac957b3d311948e650b4701445866bf (diff)
avformat/movenc: use av_packet_alloc() to allocate packets
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 997b2d61c0..cdbc4074c3 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -134,7 +134,7 @@ typedef struct MOVTrack {
uint32_t default_size;
HintSampleQueue sample_queue;
- AVPacket cover_image;
+ AVPacket *cover_image;
AVIOContext *mdat_buf;
int64_t data_offset;
@@ -215,6 +215,8 @@ typedef struct MOVMuxContext {
int per_stream_grouping;
AVFormatContext *fc;
+ AVPacket *pkt;
+
int use_editlist;
float gamma;