Skip to content

Commit

Permalink
!5 update src/main/java/cn/org/hentai/jtt1078/publisher/Channel.java.
Browse files Browse the repository at this point in the history
Merge pull request !5 from zhansheng/N/A
  • Loading branch information
glaciall authored and gitee-org committed Jun 19, 2021
2 parents 7d0df25 + e2a77be commit 55d4b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/org/hentai/jtt1078/publisher/Channel.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void close()

private byte[] readNalu()
{
for (int i = 0; i < buffer.size(); i++)
for (int i = 0; i < buffer.size() - 3; i++)
{
int a = buffer.get(i + 0) & 0xff;
int b = buffer.get(i + 1) & 0xff;
Expand Down

0 comments on commit 55d4b1e

Please sign in to comment.