diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-04 00:15:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-04 13:52:09 +0300 |
commit | eb447d515956b3ce182d9750083131735f00324c (patch) | |
tree | c6d5c18ba9f283b987ddc1b3f888d82a5a551b0a /doc/avtools-common-opts.texi | |
parent | 73871dc96ff78053b9dcd0eb259b7f5a5308ec87 (diff) | |
download | ffmpeg-eb447d515956b3ce182d9750083131735f00324c.tar.gz |
segment: Free and reinit the muxer before calling avformat_write_header
This makes sure the muxers are set up in the way they expect
with no data left around from the previous run (which could
cause various issues including memory leaks, depending on the chaine
muxer).
This fixes memory leaks with the mpegts and flv muxers. It also
makes the usage of chained muxers correct.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc/avtools-common-opts.texi')
0 files changed, 0 insertions, 0 deletions