projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set log file output as line-buffered
[umurmur.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index 35ab266c331697e20ed0189e46d0a85fa03ed323..92dbeea10d64ffb3dd187415807f1720b8ebc794 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-200,7
+200,7
@@
void recheckCodecVersions()
// it as alpha and announce it. If another codec now got the
// majority set it as the opposite of the currently valid bPreferAlpha
// and announce it.
// it as alpha and announce it. If another codec now got the
// majority set it as the opposite of the currently valid bPreferAlpha
// and announce it.
- if (version == (uint32_t)0x8000000
a
)
+ if (version == (uint32_t)0x8000000
b
)
bPreferAlpha = true;
else
bPreferAlpha = ! bPreferAlpha;
bPreferAlpha = true;
else
bPreferAlpha = ! bPreferAlpha;
@@
-211,8
+211,8
@@
void recheckCodecVersions()
iCodecBeta = version;
sendmsg = Msg_create(CodecVersion);
iCodecBeta = version;
sendmsg = Msg_create(CodecVersion);
- sendmsg->payload.codecVersion->alpha =
version
;
- sendmsg->payload.codecVersion->beta =
version
;
+ sendmsg->payload.codecVersion->alpha =
iCodecAlpha
;
+ sendmsg->payload.codecVersion->beta =
iCodecBeta
;
sendmsg->payload.codecVersion->prefer_alpha = bPreferAlpha;
Client_send_message_except(NULL, sendmsg);
sendmsg->payload.codecVersion->prefer_alpha = bPreferAlpha;
Client_send_message_except(NULL, sendmsg);