mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

* Split findNextCueHeader and validateWebVttHeader into static methods. This is a step toward WebVTT in HLS, where we'll need to re-use these to peek at the top of the WebVTT file (they'll be moved into a util class). * Made parser robust against bad cue headers + added a test. * Removed spurious looking assertion in WebvttSubtitle.