[Scummvm-cvs-logs] scummvm master -> 5b1095a4008613ec7f2efd6349670521a6d44dae

clone2727 clone2727 at gmail.com
Thu Dec 29 18:48:27 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5b1095a400 AUDIO: Only warn about audio edit lists when the count is > 1


Commit: 5b1095a4008613ec7f2efd6349670521a6d44dae
    https://github.com/scummvm/scummvm/commit/5b1095a4008613ec7f2efd6349670521a6d44dae
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-12-29T09:47:53-08:00

Commit Message:
AUDIO: Only warn about audio edit lists when the count is > 1

MPEG-4 files don't contain any elst atom

Changed paths:
    audio/decoders/quicktime.cpp



diff --git a/audio/decoders/quicktime.cpp b/audio/decoders/quicktime.cpp
index e737bf8..621964c 100644
--- a/audio/decoders/quicktime.cpp
+++ b/audio/decoders/quicktime.cpp
@@ -88,7 +88,7 @@ void QuickTimeAudioDecoder::init() {
 			// Initialize the codec (if necessary)
 			entry->initCodec();
 
-			if (_tracks[_audioTrackIndex]->editCount != 1)
+			if (_tracks[_audioTrackIndex]->editCount > 1)
 				warning("Multiple edit list entries in an audio track. Things may go awry");
 		}
 	}






More information about the Scummvm-git-logs mailing list