diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2013-06-25 17:37:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-06-25 17:37:29 +0000 |
commit | d74a9ee83fd6e033fd2260ca3777390d7e5f817a (patch) | |
tree | e9b54518ba61396d0445759f4fad2a7e5dbb114f | |
parent | 60f3f102ba2973cc31e5c7ea00d95bbf19968e8b (diff) | |
parent | 003050568829aa7b3c13c1fbcb24abcfd17cad80 (diff) |
Merge "libstagefright: fix the duration "00:00" for some httplive link"
-rw-r--r-- | media/libstagefright/httplive/M3UParser.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/media/libstagefright/httplive/M3UParser.cpp b/media/libstagefright/httplive/M3UParser.cpp index 44e03dc7..68bbca2c 100644 --- a/media/libstagefright/httplive/M3UParser.cpp +++ b/media/libstagefright/httplive/M3UParser.cpp @@ -163,9 +163,6 @@ status_t M3UParser::parse(const void *_data, size_t size) { while (offsetLF < size && data[offsetLF] != '\n') { ++offsetLF; } - if (offsetLF >= size) { - break; - } AString line; if (offsetLF > offset && data[offsetLF - 1] == '\r') { |