Fix small issues

git-svn-id: http://php-reader.googlecode.com/svn/trunk@221 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2011-05-04 05:31:08 +00:00
parent d1721620fd
commit ce0aa53e50
2 changed files with 107 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ require_once 'Zend/Media/Iso14496/FullBox.php';
/**#@-*/
/**
* The <i>Track Fragment Random Access Box<i> provides entries that contains the location and the presentation time of
* The <i>Track Fragment Random Access Box</i> provides entries that contains the location and the presentation time of
* the random accessible sample. It indicates that the sample in the entry can be random accessed. Note that not every
* random accessible sample in the track needs to be listed in the table.
*
@@ -288,6 +288,10 @@ final class Zend_Media_Iso14496_Box_Tfra extends Zend_Media_Iso14496_FullBox
}
}
/**
* Returns the length sizes based on maximum numbers for each type of integer.
* @return integer Returns the length sizes based on maximum numbers for each type of integer.
*/
private function _getLengthSizes()
{
$maxTrafNum = $maxTrunNum = $maxSampleNum = 0;
@@ -309,6 +313,12 @@ final class Zend_Media_Iso14496_Box_Tfra extends Zend_Media_Iso14496_FullBox
);
}
/**
* Returns the length size based on the given integer.
*
* @param integer $integer The integer to determine the length size from.
* @return Returns the length size of the given integer.
*/
private function _getLengthSizeFromInteger($integer)
{
if ($integer <= 0xff) {