Fix issue 41
git-svn-id: http://php-reader.googlecode.com/svn/trunk@215 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
@@ -314,12 +314,13 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
|
||||
}
|
||||
|
||||
$writer->writeString8(substr($this->_identifier, 0, 4), 4, " ")
|
||||
->writeUInt32BE($this->_encodeSynchsafe32($size))
|
||||
->writeUInt32BE($this->getOption('version', 4) < 4 ? $size : $this->_encodeSynchsafe32($size))
|
||||
->writeUInt16BE($flags);
|
||||
|
||||
if (($flags & self::DATA_LENGTH_INDICATOR) ==
|
||||
self::DATA_LENGTH_INDICATOR) {
|
||||
$writer->writeUInt32BE($this->_encodeSynchsafe32($this->_size));
|
||||
$writer->writeUInt32BE
|
||||
($this->getOption('version', 4) < 4 ? $this->_size : $this->_encodeSynchsafe32($this->_size));
|
||||
}
|
||||
$writer->write($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user