Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lemisky committed May 26, 2023
1 parent 79a5d75 commit 11a59ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ def get_duration(silk_path: str, frame_ms: int = 20) -> int:
size = silk.read(2)
if len(size) != 2:
break
size = size[0] + size[1] << 8
if not tencent and size == 0xffff:
break
i += 1
size = size[0] + size[1] * 16
silk.seek(silk.tell() + size)
return i * frame_ms
```
Expand Down

0 comments on commit 11a59ce

Please sign in to comment.