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
3708a2a9
Commit
3708a2a9
authored
Aug 20, 2019
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/hlsenc: reindent code
and remove redundant empty line
parent
939c17fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
35 deletions
+32
-35
hlsenc.c
libavformat/hlsenc.c
+32
-35
No files found.
libavformat/hlsenc.c
View file @
3708a2a9
...
...
@@ -2542,7 +2542,6 @@ static int hls_write_trailer(struct AVFormatContext *s)
return
AVERROR
(
ENOMEM
);
}
if
(
hls
->
segment_type
==
SEGMENT_TYPE_FMP4
)
{
int
range_length
=
0
;
if
(
!
vs
->
init_range_length
)
{
...
...
@@ -2582,10 +2581,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
hlsenc_io_close
(
s
,
&
vs
->
out
,
filename
);
av_free
(
filename
);
failed:
av_write_trailer
(
oc
);
if
(
oc
->
url
[
0
])
{
proto
=
avio_find_protocol_name
(
oc
->
url
);
use_temp_file
=
proto
&&
!
strcmp
(
proto
,
"file"
)
&&
(
hls
->
flags
&
HLS_TEMP_FILE
);
...
...
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