[pulseaudio-commits] src/modules
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Tue Oct 23 01:11:29 PDT 2012
src/modules/echo-cancel/webrtc.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2070ec97d3db60fbae2008a2923c681704a582e7
Author: Peter Meerwald <p.meerwald at bct-electronic.com>
Date: Mon Oct 22 23:48:27 2012 +0200
echo-cancel: Fix false warning in webrtc AEC.
CXX libwebrtc_util_la-webrtc.lo
modules/echo-cancel/webrtc.cc: In function 'pa_bool_t pa_webrtc_ec_init(pa_core*, pa_echo_canceller*, pa_sample_spec*, pa_channel_map*, pa_sample_spec*, pa_channel_map*, uint32_t*, const char*)':
modules/echo-cancel/webrtc.cc:196:9: warning: 'rm' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
diff --git a/src/modules/echo-cancel/webrtc.cc b/src/modules/echo-cancel/webrtc.cc
index c4ec7da..633b723 100644
--- a/src/modules/echo-cancel/webrtc.cc
+++ b/src/modules/echo-cancel/webrtc.cc
@@ -83,7 +83,7 @@ pa_bool_t pa_webrtc_ec_init(pa_core *c, pa_echo_canceller *ec,
{
webrtc::AudioProcessing *apm = NULL;
pa_bool_t hpf, ns, agc, dgc, mobile, cn;
- int rm;
+ int rm = -1;
pa_modargs *ma;
if (!(ma = pa_modargs_new(args, valid_modargs))) {
More information about the pulseaudio-commits
mailing list