void lprintf(const char *format,...) { va_list va; va_start(va, format); qvprintf(format, va); fflush(stdout); va_end(va); }
// for other purposes: just print the error message and continue inline void pe_failure(const char *format, ...) { va_list va; va_start(va, format); qvprintf(format, va); qprintf("\n"); va_end(va); }
/* So that we can spew libav log messages to the same place as the rest... */ void q_av_log_callback(void* ptr, int level, const char* fmt, va_list args) { qerr << endl << "LIBAV[" << level << "]: "; qvprintf(fmt, args); }