Re: [FFmpeg-devel] [PATCH] rm: fix memory leak on init failure

2015-01-09 Thread Michael Niedermayer
On Fri, Jan 09, 2015 at 09:24:54PM +0100, wm4 wrote: > AVInputFormat.read_close is not called if AVInputFormat.read_header > fails, so this needs to be handled separately. > --- > libavformat/rmdec.c | 19 ++- > 1 file changed, 14 insertions(+), 5 deletions(-) applied thanks [..

[FFmpeg-devel] [PATCH] rm: fix memory leak on init failure

2015-01-09 Thread wm4
AVInputFormat.read_close is not called if AVInputFormat.read_header fails, so this needs to be handled separately. --- libavformat/rmdec.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 299c742..d61e327 10064