PHP 'unlimited' memory limit not supported in quicktime modu

Think you found a bug in getID3()? Post here with details.
Post Reply
davist
User
Posts: 2
Joined: Fri Jul 11, 2014 12:42 pm
Are you a spambot?: no

PHP 'unlimited' memory limit not supported in quicktime modu

Post by davist » Mon Jul 14, 2014 1:34 pm

getID3 v1.9.8
PHP v5.3.10-1ubuntu3

As described on the post Itunes m4a tag reading error:

If PHP's memory_limit parameter in php.ini is set to -1 (unlimited), quicktime files (m4a audio files in my case) fail to parse correctly.

module.audio-video.quicktime.php line 71 doesn't expect -1 as a valid value for memory_limit:

Code: Select all

$this->fread(min($atomsize, round($this->getid3->memory_limit / 2)))
There's 2 other uses of memory_limit in the module which I assume need fixing as well.

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

Re: PHP 'unlimited' memory limit not supported in quicktime

Post by James Heinrich » Fri Jul 18, 2014 12:23 pm


Post Reply