diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-17 21:37:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-23 07:15:35 +0200 |
commit | aef670cff4d8856a99451995aff6d77a2f20403f (patch) | |
tree | 3744658b0a4a669e92a78314cd5002b95035ffea /libavfilter | |
parent | a5572f5a80abdf71c222926dc163182aec84e105 (diff) | |
download | ffmpeg-aef670cff4d8856a99451995aff6d77a2f20403f.tar.gz |
avformat/webm_chunk: Open AVIOContext before initializing sub-muxer
The description of AVOutputFormat.init contains the statement that "this
method must not write output". Due to this, the webm_chunk muxer defers
opening the AVIOContext for the child muxer until avformat_write_header(),
i.e. there is no AVIOContext when the sub-muxer's avformat_init_output()
is called. But this violates the documentation of said function which
requires the AVFormatContext to have an already opened AVIOContext.
This commit fixes this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions