]> git.sesse.net Git - ffmpeg/commit
avformat/avienc: add reserve_index_space option
authorTobias Rapp <t.rapp@noa-archive.com>
Wed, 25 Jan 2017 08:53:03 +0000 (09:53 +0100)
committerTobias Rapp <t.rapp@noa-archive.com>
Tue, 31 Jan 2017 08:00:23 +0000 (09:00 +0100)
commite65db4ce5966506d957032ef30545419801ae7dc
tree950f80ff9b0cef7eefc575e2e3b1fa7864179bfa
parent3d673078a03a3819df9dba7667f9e5d59b8487d0
avformat/avienc: add reserve_index_space option

Allows the user to reserve space for the ODML master index. A sufficient
sized master index in the AVI header avoids storing follow-up master
indexes within the 'movi' data later. If the option is omitted or zero
the index size is estimated from output duration and bitrate.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
libavformat/avi.h
libavformat/avienc.c
libavformat/version.h