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
1de369a6
Commit
1de369a6
authored
Dec 21, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/segment: remove now unused field list_max_segment_time
parent
d4890c10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
segment.c
libavformat/segment.c
+0
-4
No files found.
libavformat/segment.c
View file @
1de369a6
...
@@ -70,7 +70,6 @@ typedef struct {
...
@@ -70,7 +70,6 @@ typedef struct {
char
*
list
;
///< filename for the segment list file
char
*
list
;
///< filename for the segment list file
int
list_flags
;
///< flags affecting list generation
int
list_flags
;
///< flags affecting list generation
int
list_size
;
///< number of entries for the segment list file
int
list_size
;
///< number of entries for the segment list file
double
list_max_segment_time
;
///< max segment time in the current list
ListType
list_type
;
///< set the list type
ListType
list_type
;
///< set the list type
AVIOContext
*
list_pb
;
///< list file put-byte context
AVIOContext
*
list_pb
;
///< list file put-byte context
char
*
time_str
;
///< segment duration specification string
char
*
time_str
;
///< segment duration specification string
...
@@ -212,7 +211,6 @@ static int segment_list_open(AVFormatContext *s)
...
@@ -212,7 +211,6 @@ static int segment_list_open(AVFormatContext *s)
&
s
->
interrupt_callback
,
NULL
);
&
s
->
interrupt_callback
,
NULL
);
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
seg
->
list_max_segment_time
=
0
;
if
(
seg
->
list_type
==
LIST_TYPE_M3U8
&&
seg
->
segment_list_entries
)
{
if
(
seg
->
list_type
==
LIST_TYPE_M3U8
&&
seg
->
segment_list_entries
)
{
SegmentListEntry
*
entry
;
SegmentListEntry
*
entry
;
...
@@ -306,8 +304,6 @@ static int segment_end(AVFormatContext *s, int write_trailer)
...
@@ -306,8 +304,6 @@ static int segment_end(AVFormatContext *s, int write_trailer)
avio_printf
(
seg
->
list_pb
,
"#EXT-X-ENDLIST
\n
"
);
avio_printf
(
seg
->
list_pb
,
"#EXT-X-ENDLIST
\n
"
);
}
else
{
}
else
{
segment_list_print_entry
(
seg
->
list_pb
,
seg
->
list_type
,
&
seg
->
cur_entry
);
segment_list_print_entry
(
seg
->
list_pb
,
seg
->
list_type
,
&
seg
->
cur_entry
);
seg
->
list_max_segment_time
=
FFMAX
(
seg
->
cur_entry
.
end_time
-
seg
->
cur_entry
.
start_time
,
seg
->
list_max_segment_time
);
}
}
avio_flush
(
seg
->
list_pb
);
avio_flush
(
seg
->
list_pb
);
}
}
...
...
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