diff options
author | Lajos Molnar <lajos@google.com> | 2014-05-08 16:13:54 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-05-08 16:15:54 -0700 |
commit | 7d8e3ccfbf326b5e190b416590e956c2fc3021f7 (patch) | |
tree | a15eb83cbf38e34b65b1b7e04544cceed0c6e133 /media/libstagefright/httplive/PlaylistFetcher.h | |
parent | cdedf74e34117f9834055973880ee728f11d97cd (diff) | |
download | frameworks_av-7d8e3ccfbf326b5e190b416590e956c2fc3021f7.zip frameworks_av-7d8e3ccfbf326b5e190b416590e956c2fc3021f7.tar.gz frameworks_av-7d8e3ccfbf326b5e190b416590e956c2fc3021f7.tar.bz2 |
Allow BOM and space in WebVTT files
Bug: 10900755
Change-Id: I47a7a33f749ea2470ce7d9d36d33c7484637d61c
Diffstat (limited to 'media/libstagefright/httplive/PlaylistFetcher.h')
-rw-r--r-- | media/libstagefright/httplive/PlaylistFetcher.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/PlaylistFetcher.h b/media/libstagefright/httplive/PlaylistFetcher.h index 7e21523..6af82c4 100644 --- a/media/libstagefright/httplive/PlaylistFetcher.h +++ b/media/libstagefright/httplive/PlaylistFetcher.h @@ -91,6 +91,7 @@ private: static const int32_t kNumSkipFrames; static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer); + static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer); // notifications to mSession sp<AMessage> mNotify; |