movenc: Support setting fragment_index before the moov atom is written

Multimedia / Libav - Martin Storsjö [martin.st] - 10 March 2015 03:41 UTC

This way, the caller doesn't need to coordinate setting the option after the moov atom has been written. The downside is that it is no longer possible to use the option for checking whether the moov atom already has been written, but a caller is able to keep track of that by other means anyway.

448c8cf movenc: Support setting fragment_index before the moov atom is written
libavformat/movenc.c | 17 +++++++++--------
libavformat/movenc.h | 1 +
2 files changed, 10 insertions(+), 8 deletions(-)

Upstream: git.libav.org


  • Share