From 9d94970c0ffd819065bc77b944ec106f552be259 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 14 Feb 2019 17:45:16 +0100 Subject: AUDIO: Fix compilation with Clang Reported by angstsmurf. --- audio/decoders/ac3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/decoders/ac3.cpp b/audio/decoders/ac3.cpp index 170d688b23..cc0b530a88 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); } -- cgit v1.2.3