summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-05 11:33:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-05 11:33:25 +0200
commit606e8baf0fec23140f2a1baffb8752cb761039f5 (patch)
tree0f0dfda212ee815770451a52d4656ad1ebbfc05c /libavformat/movenc.h
parent28ce9c0b73c5c4aea4cdaa1f584e7c0839286a35 (diff)
parent7c020e1ad37d27c9d5db4d714401f09c80e3cc44 (diff)
downloadffmpeg-606e8baf0fec23140f2a1baffb8752cb761039f5.tar.gz
Merge commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44'
* commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44': movenc: Grow the frag_info array in chunks Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 456ed0c4f7..a6571d5109 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -26,6 +26,7 @@
#include "avformat.h"
+#define MOV_FRAG_INFO_ALLOC_INCREMENT 64
#define MOV_INDEX_CLUSTER_SIZE 1024
#define MOV_TIMESCALE 1000
@@ -130,6 +131,7 @@ typedef struct MOVTrack {
int nb_frag_info;
MOVFragmentInfo *frag_info;
+ unsigned frag_info_capacity;
struct {
int64_t struct_offset;