Commit 08a2a603 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

hls: Fix floating-point value duration parsing.

parent 7eb141b4
......@@ -597,6 +597,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
value = ((int)d) + 1;
else
value = ((int)d);
*duration = value;
}
/* Ignore the rest of the line */
......
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