[FFmpeg-devel] [PATCH] swresample/swresample: Cleanup on init failure.
jamrial at gmail.com
Thu Jun 4 05:58:56 CEST 2015
On 03/06/15 10:47 PM, Michael Niedermayer wrote:
> This avoids leaks if the user doest call swr_close() after a failed init
This should be backported then, since the doxy mentions swr_init() can be used
without swr_close(), so quite a few cases probably exist by now.
> Found-by: jamrial
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> libswresample/swresample.c | 34 ++++++++++++++++++++++++----------
> 1 file changed, 24 insertions(+), 10 deletions(-)
Should be ok.
More information about the ffmpeg-devel