libtgvoip: return nullptr to avoid compile error

Before that commit the function void *AudioInputALSA::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:26:37 +03:00 committed by GitHub
parent 21e7a1bbb0
commit a7c6201d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ void AudioInputALSA::Stop(){
void* AudioInputALSA::StartThread(void* arg){
((AudioInputALSA*)arg)->RunThread();
return nullptr;
}
void AudioInputALSA::RunThread(){
@ -176,4 +177,4 @@ void AudioInputALSA::EnumerateDevices(std::vector<AudioInputDevice>& devs){
}
dlclose(lib);
}
}