projects
/
fdkaac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
win32compat: fix aacenc_printf() not to write junk characters
[fdkaac.git]
/
src
/
compat_win32.c
diff --git
a/src/compat_win32.c
b/src/compat_win32.c
index 4e3776c06841beff6d54eae4a49d13769a5ec3d1..44822816afed5554bec473a6cb3f65ab5f97c5e0 100644
(file)
--- a/
src/compat_win32.c
+++ b/
src/compat_win32.c
@@
-157,7
+157,7
@@
int aacenc_fprintf(FILE *fp, const char *fmt, ...)
codepage_decode_wchar(CP_UTF8, s, &ws);
free(s);
fflush(fp);
- WriteConsoleW(fh, ws,
cnt
, &nw, 0);
+ WriteConsoleW(fh, ws,
wcslen(ws)
, &nw, 0);
free(ws);
}
return cnt;
This page took
0.00963099999999995 seconds
and
4
git commands to generate.