Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkv/webm cleanup #191

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

mkv/webm cleanup #191

wants to merge 2 commits into from

Conversation

CatKasha
Copy link
Contributor

check EBML header first, then do find and limit find range to 64 bytes (i dont think EBML header can be that large)

also this pr fixes webm detection that created with GStreamer Matroska muxer / GStreamer matroskamux:
DocType have webm\x00 so DocType size is different, ex. 0x42, 0x82, 0x85, 0x77, 0x65, 0x62, 0x6D, 0x00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant