[Bf-blender-cvs] [42e15b9] master: Fix T46051: Loading certain Jpeg causes system alert sound (Win32)
Sergey Sharybin
noreply at git.blender.org
Wed Sep 9 13:18:42 CEST 2015
Commit: 42e15b9dd3ea8f6625d985190aa445b512cc3812
Author: Sergey Sharybin
Date: Wed Sep 9 16:17:51 2015 +0500
Branches: master
https://developer.blender.org/rB42e15b9dd3ea8f6625d985190aa445b512cc3812
Fix T46051: Loading certain Jpeg causes system alert sound (Win32)
The issue was caused by RedCode library printing binary string to the terminal.
===================================================================
M extern/libredcode/format.c
===================================================================
diff --git a/extern/libredcode/format.c b/extern/libredcode/format.c
index 8c6cae5..9a3023f 100644
--- a/extern/libredcode/format.c
+++ b/extern/libredcode/format.c
@@ -78,7 +78,7 @@ static unsigned char* read_packet(FILE * fp, char * expect)
len = read_be32(len);
if (strcmp(expect, head) != 0) {
- fprintf(stderr, "Read: %s, expect: %s\n", head, expect);
+ /* fprintf(stderr, "Read: %s, expect: %s\n", head, expect); */
return NULL;
}
More information about the Bf-blender-cvs
mailing list