[FFmpeg-cvslog] lavf/segment: remove now unused field list_max_segment_time
Stefano Sabatini
git at videolan.org
Sat Jan 19 00:25:51 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Dec 21 02:39:53 2012 +0100| [1de369a632c49449d71ecfe251599f840d3f8b63] | committer: Stefano Sabatini
lavf/segment: remove now unused field list_max_segment_time
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1de369a632c49449d71ecfe251599f840d3f8b63
---
libavformat/segment.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 7f11bd2..3e85870 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -70,7 +70,6 @@ typedef struct {
char *list; ///< filename for the segment list file
int list_flags; ///< flags affecting list generation
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
AVIOContext *list_pb; ///< list file put-byte context
char *time_str; ///< segment duration specification string
@@ -212,7 +211,6 @@ static int segment_list_open(AVFormatContext *s)
&s->interrupt_callback, NULL);
if (ret < 0)
return ret;
- seg->list_max_segment_time = 0;
if (seg->list_type == LIST_TYPE_M3U8 && seg->segment_list_entries) {
SegmentListEntry *entry;
@@ -306,8 +304,6 @@ static int segment_end(AVFormatContext *s, int write_trailer)
avio_printf(seg->list_pb, "#EXT-X-ENDLIST\n");
} else {
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);
}
More information about the ffmpeg-cvslog
mailing list