unable to determine file format for all bmp files

Locked
Evgeny Moysevich
User
Posts:6
Joined:Tue May 26, 2009 2:01 pm
Are you a spambot?:no
unable to determine file format for all bmp files

Post by Evgeny Moysevich » Wed May 02, 2012 7:32 pm

I'm using getID3 1.9.3-20111213, php version is 5.3.8.
Bmp files are not recognized now, it happens because there are two structures with the same "bmp" key in the GetFileFormatArray() function. This is obviously a mistake, I renamed key of the second structure to "efax" and it works for me now.
I attached modified getid3.php, my change is on line 983.
Attachments
getid3.php
Patched getid3.php, bmp support is back.
(60.77KiB)Downloaded 800 times

James Heinrich
getID3() v1 developer
Posts:1477
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada
Contact:

Re: unable to determine file format for all bmp files

Post by James Heinrich » Wed May 02, 2012 7:40 pm

Thanks for finding that error. Fixed in v1.9.4

Locked