aboutsummaryrefslogtreecommitdiff
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorMichael Niedermayer2014-05-29 03:32:44 +0200
committerMichael Niedermayer2014-05-29 03:37:37 +0200
commit82beb46e65e5f820b187355bf757725c22a59c45 (patch)
treedd6e858f7e08fc6a499838f89d879eaeecfada56 /libavformat/nut.h
parentdf889be0a89a8711640eccbf99b5e807ae588dbe (diff)
avformat/nutenc: add mode that omits the index
When the index is not written, several data tables become unneeded, reducing memory and cpu requirements. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index d7a462ef6f..943081caf6 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -106,6 +106,7 @@ typedef struct NUTContext {
AVRational *time_base;
struct AVTreeNode *syncpoints;
int sp_count;
+ int write_index;
int64_t max_pts;
AVRational *max_pts_tb;
#define NUT_BROADCAST 1 // use extended syncpoints