getID3 reads Quicktime tags incorrectly

Locked
JunkieVibes
User
Posts: 5
Joined: Fri May 16, 2014 5:04 pm
Are you a spambot?: no

getID3 reads Quicktime tags incorrectly

Post by JunkieVibes » Wed Jan 13, 2016 5:11 pm

I have a very small test file at http://beardytaper.com/tmp/George's%20M ... ge%201.m4a. It has embedded artwork. Using version 1.9.9-20141121 on PHP 5.4.33 it reads the picture data as an integer.

Image

Using the latest version, 1.9.11-201512241248, again on PHP 5.4.33, it fails to read any ID3 tags.

Image

I was hoping someone could take a look.

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

Re: getID3 reads Quicktime tags incorrectly

Post by James Heinrich » Tue Jan 19, 2016 2:19 pm

Thanks for the sample file. It included both an unexpected padding word, and stored the embedded image data in a different format than seen in previous sample files.

This patch should fix both issues:
https://github.com/JamesHeinrich/getID3 ... e18c8483ee

JunkieVibes
User
Posts: 5
Joined: Fri May 16, 2014 5:04 pm
Are you a spambot?: no

Re: getID3 reads Quicktime tags incorrectly

Post by JunkieVibes » Mon Feb 01, 2016 1:45 pm

Thanks so much for a fast and helpful response. The patch works perfectly.

Locked