mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Fix stray calculation in PGS decoder
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182183184
This commit is contained in:
parent
3919843db2
commit
0708aa87ba
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ public final class PgsDecoder extends SimpleSubtitleDecoder {
|
|||
if (sectionLength < 7) {
|
||||
return;
|
||||
}
|
||||
int totalLength = buffer.readUnsignedInt24() - 4;
|
||||
int totalLength = buffer.readUnsignedInt24();
|
||||
if (totalLength < 4) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue