mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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) {
|
if (sectionLength < 7) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int totalLength = buffer.readUnsignedInt24() - 4;
|
int totalLength = buffer.readUnsignedInt24();
|
||||||
if (totalLength < 4) {
|
if (totalLength < 4) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue