diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-26 11:53:28 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-03-14 22:07:27 +0100 |
commit | abbb466368c51285ca27d5e3959a16a9591e9a4c (patch) | |
tree | 305f073b5e9ae7602176ededf8f494e99ddabac0 /libavformat/avformatres.rc | |
parent | 6e9cc964293bf1e0cca6a52b2938a20d711e4146 (diff) | |
download | ffmpeg-abbb466368c51285ca27d5e3959a16a9591e9a4c.tar.gz |
avformat/smoothstreaming: Fix memleaks on errors
If an AVFormatContext could be allocated, but white-/blacklists couldn't
be copied, the AVFormatContext would leak as it was only accessible
through a local variable that goes out of scope when one goes to fail.
Furthermore, in case writing a header of a submuxer failed, the options
used for said call could leak.
Both of these memleaks have been fixed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avformatres.rc')
0 files changed, 0 insertions, 0 deletions