mirror of
https://github.com/androidx/media.git
synced 2025-05-14 19:19:58 +08: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
@ -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…
x
Reference in New Issue
Block a user