OSDN Git Service

movenc: Support setting fragment_index before the moov atom is written
authorMartin Storsjö <martin@martin.st>
Tue, 20 Jan 2015 14:33:12 +0000 (15:33 +0100)
committerMartin Storsjö <martin@martin.st>
Tue, 10 Mar 2015 08:41:06 +0000 (10:41 +0200)
commit448c8cfe4c53e9e806effd8505b46d57fa707061
treefb30ebffaef0b4419abfee5a284ebfcecd4567ec
parent0c5e380c2c266d2e8a13c000cc527529db837f10
movenc: Support setting fragment_index before the moov atom is written

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.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
libavformat/movenc.h