mirror of https://github.com/mpv-player/mpv
Avoid excessive fflush in dbgprintf if we didn't even print anything.
Patch by Steinar H. Gunderson [sgunderson bigfoot com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e89c898ac1
commit
cbdb16328c
|
@ -208,8 +208,8 @@ static inline void dbgprintf(char* fmt, ...)
|
|||
vprintf(fmt, va);
|
||||
// mp_dbg(MSGT_WIN32, MSGL_DBG3, fmt, va);
|
||||
va_end(va);
|
||||
fflush(stdout);
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue