[FFmpeg-devel] [PATCH 04/12] lavf/mux: run AVCodec::deinit if write_header fails

2016-04-27 Thread Rodger Combs
--- libavformat/mux.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index ea75c79..82a019e 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -484,8 +484,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary

[FFmpeg-devel] [PATCH 04/12] lavf/mux: run AVCodec::deinit if write_header fails

2016-04-20 Thread Rodger Combs
--- libavformat/mux.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index 7a4cdb9..6f3bd4e 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -483,8 +483,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary