summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-11-11 18:56:25 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-11-11 18:57:33 +0100
commitdedd07e78dee71fd8cde6a39e2ccc89fdbb8a782 (patch)
tree9bbde7182c53520b97cd87eb503387dc1eb97a91
parentd00aba91a4d928a3e37d0e76c772b5222abb1e45 (diff)
downloadtdenetwork-r14.0.0.tar.gz
tdenetwork-r14.0.0.zip
Fix missing return valuesr14.0.0
Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc13
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/audiostream.c1
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msread.c1
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/mssync.c1
4 files changed, 10 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc
index f3244c54..d9cf2a94 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc
@@ -47,6 +47,7 @@ void *thread_function(void *data)
if (iface && (mc->mute()==FALSE))
iface->SendPacket(buf, len);
}
+ return NULL;
}
LinphoneMediaChannel::LinphoneMediaChannel() {
@@ -118,8 +119,8 @@ void LinphoneMediaChannel::SetSend(bool send) {
mute_ = !send;
}
-float LinphoneMediaChannel::GetCurrentQuality() {}
-int LinphoneMediaChannel::GetOutputLevel() {}
+float LinphoneMediaChannel::GetCurrentQuality() { return 0; }
+int LinphoneMediaChannel::GetOutputLevel() { return 0; }
LinphoneMediaEngine::LinphoneMediaEngine() {}
LinphoneMediaEngine::~LinphoneMediaEngine() {}
@@ -163,8 +164,8 @@ MediaChannel *LinphoneMediaEngine::CreateChannel() {
return new LinphoneMediaChannel();
}
-int LinphoneMediaEngine::SetAudioOptions(int options) {}
-int LinphoneMediaEngine::SetSoundDevices(int wave_in_device, int wave_out_device) {}
+int LinphoneMediaEngine::SetAudioOptions(int options) { return 0; }
+int LinphoneMediaEngine::SetSoundDevices(int wave_in_device, int wave_out_device) { return 0; }
-float LinphoneMediaEngine::GetCurrentQuality() {}
-int LinphoneMediaEngine::GetInputLevel() {}
+float LinphoneMediaEngine::GetCurrentQuality() { return 0; }
+int LinphoneMediaEngine::GetInputLevel() { return 0; }
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/audiostream.c b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/audiostream.c
index 8b322f4b..42198d6f 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/audiostream.c
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/audiostream.c
@@ -340,4 +340,5 @@ gint audio_stream_send_dtmf(AudioStream *stream, gchar dtmf)
{
ms_rtp_send_dtmf(MS_RTP_SEND(stream->rtpsend), dtmf);
ms_oss_write_play_dtmf(MS_OSS_WRITE(stream->soundwrite),dtmf);
+ return 0;
}
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msread.c b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msread.c
index a66f7ab6..133445d8 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msread.c
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msread.c
@@ -172,6 +172,7 @@ gint ms_read_close(MSRead *obj)
obj->fd=-1;
obj->state=MS_READ_STATE_STOPPED;
}
+ return 0;
}
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/mssync.c b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/mssync.c
index f85784ed..d495647f 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/mssync.c
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/mssync.c
@@ -189,5 +189,6 @@ int ms_sync_uninit(MSSync *sync)
g_mutex_free(sync->lock);
g_cond_free(sync->thread_cond);
g_cond_free(sync->stop_cond);
+ return 0;
}