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
6c1e1242
Commit
6c1e1242
authored
Nov 28, 2018
by
kjeyapal@akamai.com
Committed by
Karthick J
Dec 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashenc: Handled the error from dashenc_io_open()
parent
84c17449
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
dashenc.c
libavformat/dashenc.c
+5
-1
No files found.
libavformat/dashenc.c
View file @
6c1e1242
...
...
@@ -534,8 +534,12 @@ static void output_segment_list(OutputStream *os, AVIOContext *out, AVFormatCont
snprintf
(
temp_filename_hls
,
sizeof
(
temp_filename_hls
),
use_rename
?
"%s.tmp"
:
"%s"
,
filename_hls
);
set_http_options
(
&
http_opts
,
c
);
dashenc_io_open
(
s
,
&
c
->
m3u8_out
,
temp_filename_hls
,
&
http_opts
);
ret
=
dashenc_io_open
(
s
,
&
c
->
m3u8_out
,
temp_filename_hls
,
&
http_opts
);
av_dict_free
(
&
http_opts
);
if
(
ret
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Unable to open %s for writing
\n
"
,
temp_filename_hls
);
return
;
}
for
(
i
=
start_index
;
i
<
os
->
nb_segments
;
i
++
)
{
Segment
*
seg
=
os
->
segments
[
i
];
double
duration
=
(
double
)
seg
->
duration
/
timescale
;
...
...
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