diff options
author | Martin Storsjö <martin@martin.st> | 2011-02-04 12:04:15 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-04 11:28:07 -0500 |
commit | 1338dc082354b87c0e26f7f2ab09df5964b7f993 (patch) | |
tree | e05641bc2e2b61fb43258d9bb9fe5d749a40a264 /doc | |
parent | 8a2c99b48688008dd0a01c4826161ad4f7c25436 (diff) | |
download | ffmpeg-1338dc082354b87c0e26f7f2ab09df5964b7f993.tar.gz |
libavformat: Use avcodec_copy_context for chained muxers
This avoids having the chained AVStream->codec point to the same
AVCodecContext owned by the outer AVStream. The downside is that
changes to the AVCodecContext made after calling av_write_header
cannot be detected automatically within the chained muxer.
This avoids having to manually unlink the chained AVStream->codec
by setting it to null before freeing the chained muxer via generic
freeing functions.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions