Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0df9d0f4
Commit
0df9d0f4
authored
Jan 02, 2018
by
Karthick Jeyapal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashenc: Fix a resource leak when http persistent in enabled
parent
4e6e1e53
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dashenc.c
libavformat/dashenc.c
+4
-0
No files found.
libavformat/dashenc.c
View file @
0df9d0f4
/*
/*
* MPEG-DASH ISO BMFF segmenter
* MPEG-DASH ISO BMFF segmenter
* Copyright (c) 2014 Martin Storsjo
* Copyright (c) 2014 Martin Storsjo
* Copyright (c) 2018 Akamai Technologies, Inc.
*
*
* This file is part of FFmpeg.
* This file is part of FFmpeg.
*
*
...
@@ -309,6 +310,9 @@ static void dash_free(AVFormatContext *s)
...
@@ -309,6 +310,9 @@ static void dash_free(AVFormatContext *s)
av_free
(
os
->
segments
);
av_free
(
os
->
segments
);
}
}
av_freep
(
&
c
->
streams
);
av_freep
(
&
c
->
streams
);
ff_format_io_close
(
s
,
&
c
->
mpd_out
);
ff_format_io_close
(
s
,
&
c
->
m3u8_out
);
}
}
static
void
output_segment_list
(
OutputStream
*
os
,
AVIOContext
*
out
,
AVFormatContext
*
s
,
static
void
output_segment_list
(
OutputStream
*
os
,
AVIOContext
*
out
,
AVFormatContext
*
s
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment