aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/demuxing_decoding.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-02 10:15:06 +0200
commit27c4e7d99c009977a622743afdef40fdeefcc98b (patch)
treea2e2ac28bd6efae5020ed33d5db288818ea958d4 /doc/examples/demuxing_decoding.c
parent7fb1978249402e3f327662a629d83de64331a9c3 (diff)
downloadffmpeg-27c4e7d99c009977a622743afdef40fdeefcc98b.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/demuxing_decoding.c')
0 files changed, 0 insertions, 0 deletions