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:
reimar 2010-01-10 15:37:14 +00:00
parent e89c898ac1
commit cbdb16328c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}