Fix encoding and one byte field issue

git-svn-id: http://php-reader.googlecode.com/svn/trunk@12 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2008-03-17 12:54:34 +00:00
parent 165d162582
commit 3914cfdacc
16 changed files with 170 additions and 175 deletions

View File

@@ -69,7 +69,7 @@ final class ID3_Frame_POSS extends ID3_Frame
{
parent::__construct($reader);
$this->_format = substr($this->_data, 0, 1);
$this->_format = ord($this->_data{0});
$this->_position = Transform::getInt32BE(substr($this->_data, 1, 4));
}