[Scummvm-cvs-logs] SF.net SVN: scummvm:[55877] scummvm/trunk/video/qt_decoder.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Fri Feb 11 05:23:40 CET 2011


Revision: 55877
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55877&view=rev
Author:   mthreepwood
Date:     2011-02-11 04:23:38 +0000 (Fri, 11 Feb 2011)

Log Message:
-----------
VIDEO: Fix QuickTime audio seeking

Modified Paths:
--------------
    scummvm/trunk/video/qt_decoder.cpp

Modified: scummvm/trunk/video/qt_decoder.cpp
===================================================================
--- scummvm/trunk/video/qt_decoder.cpp	2011-02-10 21:41:59 UTC (rev 55876)
+++ scummvm/trunk/video/qt_decoder.cpp	2011-02-11 04:23:38 UTC (rev 55877)
@@ -209,7 +209,7 @@
 		// Now to track down what chunk it's in
 		_curAudioChunk = 0;
 		uint32 totalSamples = 0;
-		for (uint32 i = 0; i < _streams[_audioStreamIndex]->sample_to_chunk_sz; i++, _curAudioChunk++) {			
+		for (uint32 i = 0; i < _streams[_audioStreamIndex]->chunk_count; i++, _curAudioChunk++) {
 			int sampleToChunkIndex = -1;
 
 			for (uint32 j = 0; j < _streams[_audioStreamIndex]->sample_to_chunk_sz; j++)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list