aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/avio_dir_cmd.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-07 14:55:46 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-20 02:36:02 +0200
commitefea91321e5eb702e8a37bf29cbd84aa2ad81acb (patch)
tree377bb07d2a8d76076c32b355ee0fde9e0e5adfa5 /doc/examples/avio_dir_cmd.c
parent9dad33fcaede598cc61860bb82699d73f0d2960b (diff)
downloadffmpeg-efea91321e5eb702e8a37bf29cbd84aa2ad81acb.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> (cherry picked from commit 8aeab0dbc159d65a20bb4cc89c2524b482fd867a)
Diffstat (limited to 'doc/examples/avio_dir_cmd.c')
0 files changed, 0 insertions, 0 deletions