Add ISO 14496 boxes

git-svn-id: http://php-reader.googlecode.com/svn/branches/zend@163 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2010-02-20 11:21:45 +00:00
parent 559220106a
commit 9a83f77ef2
15 changed files with 2113 additions and 5 deletions

View File

@@ -78,8 +78,8 @@ final class Zend_Media_Iso14496_Box_Stco extends Zend_Media_Iso14496_FullBox
parent::__construct($reader, $options);
$entryCount = $this->_reader->readUInt32BE();
for ($i = 0; $i < $entryCount; $i++) {
$this->_chunkOffsetTable[$i + 1] = $reader->readUInt32BE();
for ($i = 1; $i <= $entryCount; $i++) {
$this->_chunkOffsetTable[$i] = $reader->readUInt32BE();
}
}