Re: Text file detected as MP3 audio

> I've seen other files reported erroneously as ID3, too.  We probably
> should only be keying off of the extension only here, as ID3 files don't
> have a fixed signature.

Actually things should work better with gnome-mime-data head, since I
changed the ID3 sniffing to also look for a know ID3 version number.
The patterns now look like 

0:160   string          ID3\x20\x00                            
0:160   string          ID3\x30\x00                            
0:160   string          ID3\x40\x00                            

so text files should no longer match that.


Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]