diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-04 03:47:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-20 04:43:39 +0200 |
commit | ed5bfeca04fbd4a09ef8f866eaecb098fe7f4249 (patch) | |
tree | 519a6258aa3c2afa2850a9563a5c7483221dbd89 /libavformat/oggparsevorbis.c | |
parent | 7050d07562c0f40033f3766022527afa5eaa5299 (diff) | |
download | ffmpeg-ed5bfeca04fbd4a09ef8f866eaecb098fe7f4249.tar.gz |
swresample/swresample: Cleanup on init failure.
This avoids leaks if the user doest call swr_close() after a failed init
Found-by: James Almer <jamrial@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c3f87f7545d42520921bc448b9fbd7324c574e49)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsevorbis.c')
0 files changed, 0 insertions, 0 deletions