Log: make LogLevel the first parameter

Prepare for templated functions.
This commit is contained in:
Max Kellermann
2019-05-22 18:38:25 +02:00
parent e5f23678ca
commit 36e6079c57
9 changed files with 29 additions and 29 deletions

View File

@@ -62,6 +62,6 @@ FfmpegLogCallback(gcc_unused void *ptr, int level, const char *fmt, va_list vl)
ffmpeg_domain.GetName(),
cls->item_name(ptr));
const Domain d(domain);
LogFormatV(d, FfmpegImportLogLevel(level), fmt, vl);
LogFormatV(FfmpegImportLogLevel(level), d, fmt, vl);
}
}