Fix issue 69
git-svn-id: http://php-reader.googlecode.com/svn/trunk@273 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
@@ -53,16 +53,12 @@ final class Zend_Media_Id3_Frame_Tpos extends Zend_Media_Id3_TextFrame
|
||||
*/
|
||||
public function __construct($reader = null, &$options = array())
|
||||
{
|
||||
Zend_Media_Id3_Frame::__construct($reader, $options);
|
||||
|
||||
$this->setEncoding(Zend_Media_Id3_Encoding::ISO88591);
|
||||
parent::__construct($reader, $options);
|
||||
|
||||
if ($this->_reader === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->_reader->skip(1);
|
||||
$this->setText($this->_reader->readString8($this->_reader->getSize()));
|
||||
@list ($this->_number, $this->_total) = explode("/", $this->getText());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user