| 388 | } |
| 389 | |
| 390 | static void http_av_log(void *ptr, int level, const char *fmt, va_list vargs) |
| 391 | { |
| 392 | static int print_prefix = 1; |
| 393 | AVClass *avc = ptr ? *(AVClass**)ptr : NULL; |
| 394 | if (level > av_log_get_level()) |
| 395 | return; |
| 396 | if (print_prefix && avc) |
| 397 | http_log("[%s @ %p]", avc->item_name(ptr), ptr); |
| 398 | print_prefix = strstr(fmt, "\n") != NULL; |
| 399 | http_vlog(fmt, vargs); |
| 400 | } |
| 401 | |
| 402 | static void log_connection(HTTPContext *c) |
| 403 | { |
nothing calls this directly
no test coverage detected