| 644 | } |
| 645 | |
| 646 | static void update_benchmark(const char *fmt, ...) |
| 647 | { |
| 648 | if (do_benchmark_all) { |
| 649 | int64_t t = getutime(); |
| 650 | va_list va; |
| 651 | char buf[1024]; |
| 652 | |
| 653 | if (fmt) { |
| 654 | va_start(va, fmt); |
| 655 | vsnprintf(buf, sizeof(buf), fmt, va); |
| 656 | va_end(va); |
| 657 | av_log(NULL, AV_LOG_INFO, "bench: %8"PRIu64" %s \n", t - current_time, buf); |
| 658 | } |
| 659 | current_time = t; |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | static void close_all_output_streams(OutputStream *ost, OSTFinished this_stream, OSTFinished others) |
| 664 | { |
no test coverage detected