mirror of https://github.com/FFmpeg/FFmpeg.git
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>oldabi
parent
8a2c99b486
commit
1338dc0823
4 changed files with 12 additions and 9 deletions
Loading…
Reference in new issue