Commit 97c0d774 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

hls: Fix floating-point value duration parsing.

(cherry picked from commit 08a2a6031b83a4a227c785ef46121b2fbd289b06)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent de31065a
...@@ -597,6 +597,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati ...@@ -597,6 +597,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
value = ((int)d) + 1; value = ((int)d) + 1;
else else
value = ((int)d); value = ((int)d);
*duration = value;
} }
/* Ignore the rest of the line */ /* 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