[Scummvm-git-logs] scummvm master -> 9d94970c0ffd819065bc77b944ec106f552be259

eriktorbjorn eriktorbjorn at telia.com
Thu Feb 14 17:46:50 CET 2019


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:
9d94970c0f AUDIO: Fix compilation with Clang


Commit: 9d94970c0ffd819065bc77b944ec106f552be259
    https://github.com/scummvm/scummvm/commit/9d94970c0ffd819065bc77b944ec106f552be259
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2019-02-14T17:45:16+01:00

Commit Message:
AUDIO: Fix compilation with Clang

Reported by angstsmurf.

Changed paths:
    audio/decoders/ac3.cpp


diff --git a/audio/decoders/ac3.cpp b/audio/decoders/ac3.cpp
index 170d688..cc0b530 100644
--- a/audio/decoders/ac3.cpp
+++ b/audio/decoders/ac3.cpp
@@ -66,7 +66,7 @@ private:
 	double _audioGain;
 };
 
-AC3Stream::AC3Stream(double decibel = 0.0) : _a52State(0), _frameSize(0), _inBufPtr(0), _flags(0), _sampleRate(0) {
+AC3Stream::AC3Stream(double decibel) : _a52State(0), _frameSize(0), _inBufPtr(0), _flags(0), _sampleRate(0) {
 	_audioGain = pow(2, decibel / 6);
 }
 





More information about the Scummvm-git-logs mailing list