Skip over .emf-files. (flutter/engine#4739)
.emf-files are binary media files in Microsoft enhanced mediaformat.
This commit is contained in:
committed by
GitHub
parent
972406f074
commit
036241e64d
@@ -167,6 +167,7 @@ FileType identifyFile(String name, Reader reader) {
|
||||
case '.wbmp': return FileType.binary; // Wireless bitmap format
|
||||
case '.webp': return FileType.binary; // WEBP
|
||||
case '.pdf': return FileType.binary; // PDF
|
||||
case '.emf': return FileType.binary; // Windows enhanced metafile format
|
||||
// Videos
|
||||
case '.ogg': return FileType.binary; // Ogg media
|
||||
case '.mp4': return FileType.binary; // MPEG media
|
||||
|
||||
Reference in New Issue
Block a user