From 2f0d5a531e2dd560be3893d697686048c5584c61 Mon Sep 17 00:00:00 2001 From: svollbehr Date: Mon, 3 Mar 2008 22:01:04 +0000 Subject: [PATCH] Minor fixes git-svn-id: http://php-reader.googlecode.com/svn/trunk@8 51a70ab9-7547-0410-9469-37e369ee0574 --- src/ASF.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ASF.php b/src/ASF.php index 75df1cb..2ba46e1 100644 --- a/src/ASF.php +++ b/src/ASF.php @@ -78,8 +78,7 @@ class ASF } /** - * Checks whether the reader was successfully initiated and whether there are - * objects left in the stream. + * Checks whether there are objects left in the stream. * * @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. * * @todo Only the ASF_Header_Object top level object is regognized. - * @return ASFObject Returns the appropriate object. Returned objects are of - * the type ASFObject or of any of the other object types that inherit - * from that base class. + * @return ASF_Object Returns the appropriate object. Returned objects are of + * the type ASF_Object or of any of the other object types that + * inherit from that base class. */ public function nextObject() { @@ -111,7 +110,6 @@ class ASF default: $object = new ASF_Object($this->_reader, $guid, $size); } - $this->_reader->setOffset($offset - 24 + $size); } return $object;