Commit 50a1fc8f authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: add usefull comment.

parent 25b65669
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment