Merge pull request #2170 from wischnow:main

PiperOrigin-RevId: 729558029
This commit is contained in:
Copybara-Service 2025-02-21 09:35:20 -08:00
commit 7c2e8c1c4b

View File

@ -106,6 +106,9 @@ public final class VobsubParser implements SubtitleParser {
private static final class CueBuilder {
private static final int CMD_FORCE_START = 0;
private static final int CMD_START = 1;
private static final int CMD_STOP = 2;
private static final int CMD_COLORS = 3;
private static final int CMD_ALPHA = 4;
private static final int CMD_AREA = 5;
@ -198,6 +201,11 @@ public final class VobsubParser implements SubtitleParser {
return;
}
break;
case CMD_FORCE_START:
case CMD_START:
case CMD_STOP:
// ignore unused commands without arguments
break;
case CMD_END:
default:
return;