[FFmpeg-devel] [PATCH 1/6] libavformat: Use avcodec_copy_context for chained muxers
Ronald S. Bultje
rsbultje
Fri Feb 4 17:28:38 CET 2011
Hi,
On Fri, Feb 4, 2011 at 5:04 AM, Martin Storsj? <martin at martin.st> wrote:
> 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.
> ---
> ?libavformat/movenchint.c ? | ? ?9 +++++----
> ?libavformat/rtpenc_chain.c | ? ?8 +++-----
> ?libavformat/rtsp.c ? ? ? ? | ? ?2 ++
> ?libavformat/sapenc.c ? ? ? | ? ?2 ++
> ?4 files changed, 12 insertions(+), 9 deletions(-)
This one was OK'ed before, so applied now.
Ronald
More information about the ffmpeg-devel
mailing list