diff options
author | Matthew Hoops | 2011-02-11 04:23:38 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-02-11 04:23:38 +0000 |
commit | 61c33feabab1b73692871f4beaabf6617f0a5a92 (patch) | |
tree | 59eab2700f60372759e5b75319de976c51bfa101 /video | |
parent | 247e882711e1e20d84ba1262c2c76b7a05587d01 (diff) | |
download | scummvm-rg350-61c33feabab1b73692871f4beaabf6617f0a5a92.tar.gz scummvm-rg350-61c33feabab1b73692871f4beaabf6617f0a5a92.tar.bz2 scummvm-rg350-61c33feabab1b73692871f4beaabf6617f0a5a92.zip |
VIDEO: Fix QuickTime audio seeking
svn-id: r55877
Diffstat (limited to 'video')
-rw-r--r-- | video/qt_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp index c855360e2b..77b2ed7061 100644 --- a/video/qt_decoder.cpp +++ b/video/qt_decoder.cpp @@ -209,7 +209,7 @@ void QuickTimeDecoder::seekToFrame(uint32 frame) { // 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++) |