### Version Media3 1.3.0 ### More version details media3-extractor ### Devices that reproduce the issue Android Studio ### Devices that do not reproduce the issue _No response_ ### Reproducible in the demo app? Not tested ### Reproduction steps Use `WebvttParser.parse()` to parse the vtt captions below: ``` private const val vttSample = """WEBVTT Kind: captions Language: en 00:00:00.000 --> 00:00:01.712 [MUSIC PLAYING] 00:00:02.533 --> 00:00:03.950 SPEAKER: As an Android engineer, I 00:00:03.950 --> 00:00:06.350 have seen firsthand how the ecosystem is growing-- """ ``` ```kotlin val cuesWithTimingList = buildList { WebvttParser().parse( vttSample.toByteArray(), SubtitleParser.OutputOptions.allCues() ) { add(it) } } ``` ### Expected result The `cuesWithTimingList` contains 3 items or lines ### Actual result The list contains 4 items, see screenshot <img width="896" alt="image" src="https://github.com/androidx/media/assets/69683722/2069bb1b-4ff1-4944-8958-547c2e27c009"> ### Media ``` WEBVTT Kind: captions Language: en 00:00:00.000 --> 00:00:01.712 [MUSIC PLAYING] 00:00:02.533 --> 00:00:03.950 SPEAKER: As an Android engineer, I 00:00:03.950 --> 00:00:06.350 have seen firsthand how the ecosystem is growing-- ``` ### Bug Report - [ ] You will email the zip file produced by `adb bugreport` to android-media-github@google.com after filing this issue.