This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 024a8842bd9c090eaab70efec77b75c8855c4ba5
Author: Zack Middleton <[email protected]>
Date:   Mon May 29 09:53:19 2017 -0500

    Fix compiling debug code for writing VoIP data
---
 code/client/cl_parse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c
index 3968250..318c8d8 100644
--- a/code/client/cl_parse.c
+++ b/code/client/cl_parse.c
@@ -804,10 +804,10 @@ void CL_ParseVoip ( msg_t *msg, qboolean ignoreData ) {
        #if 0
        static FILE *encio = NULL;
        if (encio == NULL) encio = fopen("voip-incoming-encoded.bin", "wb");
-       if (encio != NULL) { fwrite(encoded, len, 1, encio); fflush(encio); }
+       if (encio != NULL) { fwrite(encoded, packetsize, 1, encio); 
fflush(encio); }
        static FILE *decio = NULL;
        if (decio == NULL) decio = fopen("voip-incoming-decoded.bin", "wb");
-       if (decio != NULL) { fwrite(decoded+written, clc.speexFrameSize*2, 1, 
decio); fflush(decio); }
+       if (decio != NULL) { fwrite(decoded+written, numSamples*2, 1, decio); 
fflush(decio); }
        #endif
 
        written += numSamples;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/ioquake3.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to