mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
Remove WebvttParserUtil from null-checking blacklist
PiperOrigin-RevId: 277916279
This commit is contained in:
parent
5407c31726
commit
2139973e2c
@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.google.android.exoplayer2.text.webvtt;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.ParserException;
|
||||
import com.google.android.exoplayer2.util.ParsableByteArray;
|
||||
import com.google.android.exoplayer2.util.Util;
|
||||
@ -98,6 +99,7 @@ public final class WebvttParserUtil {
|
||||
* reached without a cue header being found. In the case that a cue header is found, groups 1,
|
||||
* 2 and 3 of the returned matcher contain the start time, end time and settings list.
|
||||
*/
|
||||
@Nullable
|
||||
public static Matcher findNextCueHeader(ParsableByteArray input) {
|
||||
String line;
|
||||
while ((line = input.readLine()) != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user