mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Cleanup
This commit is contained in:
parent
5e3b817b81
commit
101b712267
2 changed files with 5 additions and 7 deletions
|
|
@ -153,9 +153,7 @@ public final class SubripDecoder extends SimpleSubtitleDecoder {
|
||||||
return Charsets.UTF_8;
|
return Charsets.UTF_8;
|
||||||
}
|
}
|
||||||
|
|
||||||
char twoBytes = data.peekChar();
|
switch (data.peekChar()) {
|
||||||
|
|
||||||
switch (twoBytes) {
|
|
||||||
case ParsableByteArray.BOM_UTF16_BE:
|
case ParsableByteArray.BOM_UTF16_BE:
|
||||||
return Charsets.UTF_16BE;
|
return Charsets.UTF_16BE;
|
||||||
case ParsableByteArray.BOM_UTF16_LE:
|
case ParsableByteArray.BOM_UTF16_LE:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue