Skip to content

Commit

Permalink
Fixing header check location for webms (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitt3n authored Aug 29, 2024
1 parent cac5963 commit 0a9f6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steam/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_gif(h: bytes) -> Literal["gif"] | None:

@tests.append
def test_webm(h: bytes) -> Literal["webm"] | None:
if h[29:36] == b"\x82\x84webmB":
if h[22:29] == b"\x82\x84webmB":
return "webm"


Expand Down

0 comments on commit 0a9f6d8

Please sign in to comment.