r51039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51038‎ | r51039 | r51040 >
Date:21:25, 26 May 2009
Author:dale
Status:ok
Tags:
Comment:
removed setting streamLength from non-existent variables
Modified paths:
  • /trunk/extensions/OggHandler/PEAR/File_Ogg/File/Ogg/Vorbis.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OggHandler/PEAR/File_Ogg/File/Ogg/Vorbis.php
@@ -178,9 +178,7 @@
179179
180180 $startSec = (( '0x' . substr( $this->_firstGranulePos, 0, 8 ) ) * pow(2, 32)
181181 + ( '0x' . substr( $this->_firstGranulePos, 8, 8 ) ))
182 - / $this->_idHeader['audio_sample_rate'];
183 -
184 - $this->_streamLength = $stream_endLength - $stream_startLength;
 182+ / $this->_idHeader['audio_sample_rate'];
185183
186184 //make sure the offset is worth taking into account oggz_chop related hack
187185 if( $startSec > 1){

Status & tagging log