[vlc-devel] [PATCH] httplive.c: remove an attribute that is never used

F. Yhuel fyhuel at viotech.net
Thu Oct 27 18:00:32 CEST 2011


---
 modules/stream_filter/httplive.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 299c23b..046b111 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -64,7 +64,6 @@ typedef struct segment_s
     int         sequence;   /* unique sequence number */
     int         duration;   /* segment duration (seconds) */
     uint64_t    size;       /* segment size in bytes */
-    uint64_t    bandwidth;  /* bandwidth usage of segments (bits per second)*/
 
     vlc_url_t   url;
     vlc_mutex_t lock;
@@ -335,7 +334,6 @@ static segment_t *segment_New(hls_stream_t* hls, const int duration, const char
     segment->duration = duration; /* seconds */
     segment->size = 0; /* bytes */
     segment->sequence = 0;
-    segment->bandwidth = 0;
     vlc_UrlParse(&segment->url, uri, 0);
     segment->data = NULL;
     vlc_array_append(hls->segments, segment);
-- 
1.7.4.1




More information about the vlc-devel mailing list