From 82beb46e65e5f820b187355bf757725c22a59c45 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Thu, 29 May 2014 03:32:44 +0200 Subject: 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> --- libavformat/nut.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/nut.h') 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 -- cgit v1.2.3