aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/remuxing.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-26 11:53:28 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-03 13:28:10 +0200
commit98efb7afc9e6bace65aeb73d7d9c2001bbf0009d (patch)
tree7fdd0d6d4ea3f22be65c7555a2afdeb7f3f4790f /doc/examples/remuxing.c
parentff1a79d7f33ee290ffa0c92830330a4aa4b04c4f (diff)
downloadffmpeg-98efb7afc9e6bace65aeb73d7d9c2001bbf0009d.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> (cherry picked from commit abbb466368c51285ca27d5e3959a16a9591e9a4c) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/examples/remuxing.c')
0 files changed, 0 insertions, 0 deletions