diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-07 14:55:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-08 01:32:26 +0100 |
commit | 8aeab0dbc159d65a20bb4cc89c2524b482fd867a (patch) | |
tree | 95eedaafdfc60e9ec328b04558d58e139664727d /libavcodec/mpegaudiodec_float.c | |
parent | ad18f69bcba05f825b7a27e779873ae830273e84 (diff) | |
download | ffmpeg-8aeab0dbc159d65a20bb4cc89c2524b482fd867a.tar.gz |
avformat/dashenc: Fix leak of AVFormatContext on error
The Dash muxer uses submuxers and when one such submuxer has been allocated,
it is initially only stored in a temporary variable. Therefore it leaks
if an error happens between the allocation and storing it permanently.
This commit changes this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: "Jeyapal, Karthick" <kjeyapal@akamai.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegaudiodec_float.c')
0 files changed, 0 insertions, 0 deletions