libtgvoip: return nullptr to avoid compile err p2

Before that commit the function void *AudioOutputALSA::StartThread() doesn't return any values.  
Also please note that this fix should be ported after syncing libtgvoip to upstream!

Related to #153.
This commit is contained in:
Alex 2018-06-20 15:31:05 +03:00 committed by GitHub
parent a7c6201d15
commit 38f19bbdf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ bool AudioOutputALSA::IsPlaying(){
void* AudioOutputALSA::StartThread(void* arg){
((AudioOutputALSA*)arg)->RunThread();
return nullptr;
}
void AudioOutputALSA::RunThread(){
@ -179,4 +180,4 @@ void AudioOutputALSA::EnumerateDevices(std::vector<AudioOutputDevice>& devs){
}
dlclose(lib);
}
}