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
073986c5
Commit
073986c5
authored
Oct 29, 2017
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/hlsenc: reindent hlsenc code
Signed-off-by:
Steven Liu
<
lq@onvideo.cn
>
parent
c3e279e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
hlsenc.c
libavformat/hlsenc.c
+10
-10
No files found.
libavformat/hlsenc.c
View file @
073986c5
...
...
@@ -1081,13 +1081,13 @@ static int hls_window(AVFormatContext *s, int last)
}
avio_printf
(
out
,
"
\n
"
);
}
if
(
hls
->
flags
&
HLS_ROUND_DURATIONS
)
avio_printf
(
out
,
"#EXTINF:%ld,
\n
"
,
lrint
(
en
->
duration
));
else
avio_printf
(
out
,
"#EXTINF:%f,
\n
"
,
en
->
duration
);
if
(
byterange_mode
)
avio_printf
(
out
,
"#EXT-X-BYTERANGE:%"
PRId64
"@%"
PRId64
"
\n
"
,
en
->
size
,
en
->
pos
);
if
(
hls
->
flags
&
HLS_ROUND_DURATIONS
)
avio_printf
(
out
,
"#EXTINF:%ld,
\n
"
,
lrint
(
en
->
duration
));
else
avio_printf
(
out
,
"#EXTINF:%f,
\n
"
,
en
->
duration
);
if
(
byterange_mode
)
avio_printf
(
out
,
"#EXT-X-BYTERANGE:%"
PRId64
"@%"
PRId64
"
\n
"
,
en
->
size
,
en
->
pos
);
if
(
hls
->
flags
&
HLS_PROGRAM_DATE_TIME
)
{
time_t
tt
,
wrongsecs
;
...
...
@@ -1113,9 +1113,9 @@ static int hls_window(AVFormatContext *s, int last)
avio_printf
(
out
,
"#EXT-X-PROGRAM-DATE-TIME:%s.%03d%s
\n
"
,
buf0
,
milli
,
buf1
);
prog_date_time
+=
en
->
duration
;
}
if
(
hls
->
baseurl
)
avio_printf
(
out
,
"%s"
,
hls
->
baseurl
);
avio_printf
(
out
,
"%s
\n
"
,
en
->
filename
);
if
(
hls
->
baseurl
)
avio_printf
(
out
,
"%s"
,
hls
->
baseurl
);
avio_printf
(
out
,
"%s
\n
"
,
en
->
filename
);
}
if
(
last
&&
(
hls
->
flags
&
HLS_OMIT_ENDLIST
)
==
0
)
...
...
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