MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / http_av_log

Function http_av_log

ffserver.c:390–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390static 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
402static void log_connection(HTTPContext *c)
403{

Callers

nothing calls this directly

Calls 3

av_log_get_levelFunction · 0.85
http_logFunction · 0.85
http_vlogFunction · 0.85

Tested by

no test coverage detected