h2non / filetype

Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature
https://pkg.go.dev/github.com/h2non/filetype?tab=doc
MIT License
2.1k stars 175 forks source link

There is a problem with avif format check #141

Closed nijinekoyo closed 7 months ago

nijinekoyo commented 7 months ago

I encountered the problem that some files in avif format could not be recognized correctly. I used the Match method to get the result of Unknown.

example: vYYlfS5zdWHPovn6x8EuDiMDq82tI6fk.zip