diff options
author | Andreas Huber <andih@google.com> | 2011-06-21 11:55:34 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-06-21 11:55:34 -0700 |
commit | 9067e30b3ccb3a07e41b61af22c036378053a9a3 (patch) | |
tree | c2699b84a297a9a5652188f72d2a6d922d9ef5c9 /media/libstagefright/httplive/LiveSession.cpp | |
parent | 551e95607ce83c0d491a2c12cdae4aa92197dc2c (diff) | |
download | frameworks_av-9067e30b3ccb3a07e41b61af22c036378053a9a3.zip frameworks_av-9067e30b3ccb3a07e41b61af22c036378053a9a3.tar.gz frameworks_av-9067e30b3ccb3a07e41b61af22c036378053a9a3.tar.bz2 |
Parse the individual segment's duration as a floating point number which is now
allowed in later HLS specs.
Change-Id: I7c8296acb4e9b0f80022f3057769de0eea9ee0c6
related-to-bug: 4779022
Diffstat (limited to 'media/libstagefright/httplive/LiveSession.cpp')
-rw-r--r-- | media/libstagefright/httplive/LiveSession.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/LiveSession.cpp b/media/libstagefright/httplive/LiveSession.cpp index 012d9ad..165683e 100644 --- a/media/libstagefright/httplive/LiveSession.cpp +++ b/media/libstagefright/httplive/LiveSession.cpp @@ -296,6 +296,8 @@ sp<M3UParser> LiveSession::fetchPlaylist(const char *url) { new M3UParser(url, buffer->data(), buffer->size()); if (playlist->initCheck() != OK) { + LOGE("failed to parse .m3u8 playlist"); + return NULL; } |