summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-22 18:38:25 +0200
committerMax Kellermann <max@musicpd.org>2020-07-06 21:07:26 +0200
commit36e6079c57787a3599de8be80e508eb497d0de1e (patch)
tree196056bfaf8603d9fe8a5b2240d2594d070c27f3 /src/lib
parente5f23678ca1bdaaff3dba81af89d5d3fe9be594a (diff)
Log: make LogLevel the first parameter
Prepare for templated functions.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffmpeg/LogCallback.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg/LogCallback.cxx b/src/lib/ffmpeg/LogCallback.cxx
index f236b0eea..0dcdb5e6c 100644
--- a/src/lib/ffmpeg/LogCallback.cxx
+++ b/src/lib/ffmpeg/LogCallback.cxx
@@ -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);
}
}