diff options
author | Michael Niedermayer | 2014-05-29 03:32:44 +0200 |
---|---|---|
committer | Michael Niedermayer | 2014-05-29 03:37:37 +0200 |
commit | 82beb46e65e5f820b187355bf757725c22a59c45 (patch) | |
tree | dd6e858f7e08fc6a499838f89d879eaeecfada56 /libavformat/nut.h | |
parent | df889be0a89a8711640eccbf99b5e807ae588dbe (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.h | 1 |
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 |