[vlc-commits] hls: Fix floating-point value duration parsing.
Hugo Beauzée-Luyssen
git at videolan.org
Mon Mar 12 12:13:24 CET 2012
vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Mar 9 16:36:50 2012 +0100| [97c0d7749f21bf7f49973f2dce7c6018f508c0a3] | committer: Jean-Baptiste Kempf
hls: Fix floating-point value duration parsing.
(cherry picked from commit 08a2a6031b83a4a227c785ef46121b2fbd289b06)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=97c0d7749f21bf7f49973f2dce7c6018f508c0a3
---
modules/stream_filter/httplive.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index f9eba12..76c5c14 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -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 */
More information about the vlc-commits
mailing list