Minor fixes
git-svn-id: http://php-reader.googlecode.com/svn/trunk@8 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
10
src/ASF.php
10
src/ASF.php
@@ -78,8 +78,7 @@ class ASF
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks whether the reader was successfully initiated and whether there are
|
* Checks whether there are objects left in the stream.
|
||||||
* objects left in the stream.
|
|
||||||
*
|
*
|
||||||
* @return Boolean value corresponding whether there is more to read.
|
* @return Boolean value corresponding whether there is more to read.
|
||||||
*/
|
*/
|
||||||
@@ -92,9 +91,9 @@ class ASF
|
|||||||
* Returns the next ASF object or false if end of stream has been reached.
|
* Returns the next ASF object or false if end of stream has been reached.
|
||||||
*
|
*
|
||||||
* @todo Only the ASF_Header_Object top level object is regognized.
|
* @todo Only the ASF_Header_Object top level object is regognized.
|
||||||
* @return ASFObject Returns the appropriate object. Returned objects are of
|
* @return ASF_Object Returns the appropriate object. Returned objects are of
|
||||||
* the type ASFObject or of any of the other object types that inherit
|
* the type ASF_Object or of any of the other object types that
|
||||||
* from that base class.
|
* inherit from that base class.
|
||||||
*/
|
*/
|
||||||
public function nextObject()
|
public function nextObject()
|
||||||
{
|
{
|
||||||
@@ -111,7 +110,6 @@ class ASF
|
|||||||
default:
|
default:
|
||||||
$object = new ASF_Object($this->_reader, $guid, $size);
|
$object = new ASF_Object($this->_reader, $guid, $size);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_reader->setOffset($offset - 24 + $size);
|
$this->_reader->setOffset($offset - 24 + $size);
|
||||||
}
|
}
|
||||||
return $object;
|
return $object;
|
||||||
|
|||||||
Reference in New Issue
Block a user