Audio: fixed wrong condition

This commit is contained in:
Martin Pulec
2019-07-03 15:55:55 +02:00
parent 22e25f65ca
commit a0d1bbcfe4

View File

@@ -618,7 +618,7 @@ static void *audio_receiver_thread(void *arg)
#endif
#ifdef WIN32
if (s->audio_tx_mode |= MODE_SENDER) {
if (s->audio_tx_mode & MODE_SENDER) {
log_msg(LOG_LEVEL_WARNING, "Setting non-blocking receiving in MSW because sender and receiver shares a socket. Separate sender and receiver to disable this behavior\n");
nonblock = true;
}