libavformat/segment: add an option to write the header to a separate file
authorRodger Combs <rodger.combs@gmail.com>
Sun, 29 Mar 2015 01:25:20 +0000 (19:25 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Mar 2015 14:17:04 +0000 (16:17 +0200)
commit7b060a96ad8a6a635d33011b9b5fbb79adcf31d8
tree70295f3a0d4cd815dd2e29b2266ab64e1116a60c
parent481f0f153ac3abe9de445de6972530f450aa9d8c
libavformat/segment: add an option to write the header to a separate file

This permits some interesting segmenting techniques with formats like Matroska,
where you can concatenate the header and segments [N, nb_segments) and get
a working file that starts at segment N's start time.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c