提交 0708aa87 编写于 作者: O olly 提交者: Oliver Woodman

Fix stray calculation in PGS decoder

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182183184
上级 3919843d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册