FFmpeg/libavformat
Andreas Rheinhardt 8aeab0dbc1 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>
2020-01-08 01:32:26 +01:00
..
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-11-29 19:58:35 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-08-13 15:38:57 +02:00
2019-12-12 19:25:33 +01:00
2019-12-25 22:10:47 +01:00
2019-10-29 16:20:33 +01:00
2019-12-12 19:25:33 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-05-20 11:58:12 -07:00
2019-12-11 16:24:16 +01:00
2019-09-02 23:08:43 +02:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:47:16 +08:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-05-20 11:58:12 -07:00
2019-09-27 12:15:50 +02:00
2019-12-12 19:25:33 +01:00
2019-09-02 23:08:43 +02:00
2019-11-27 23:54:20 +01:00
2019-12-12 19:25:33 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-03-20 18:38:48 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:46:42 +08:00
2019-06-14 21:36:39 +02:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00