]> git.sesse.net Git - vlc/commitdiff
stream_filter/httplive.c: add usefull comment.
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 30 Mar 2012 09:19:12 +0000 (11:19 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 30 Mar 2012 09:19:12 +0000 (11:19 +0200)
modules/stream_filter/httplive.c

index a8dfc4b344c4814d32414b737d2426608e624590..26f6d743ab594d0ae6c8615c0758c13e97630a07 100644 (file)
@@ -1717,6 +1717,10 @@ static int hls_Download(stream_t *s, segment_t *segment)
     uint64_t size;
     do
     {
+        /* NOTE: Beware the size reported for a segment by the HLS server may not
+         * be correct, when downloading the segment data. Therefore check the size
+         * and enlarge the segment data block if necessary.
+         */
         size = stream_Size(p_ts);
         if (size > segment->size)
         {