summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-09 00:38:23 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-09 00:05:00 +0100
commitbae20bbd6f23b2d341359f0a122ac64cef34f291 (patch)
tree5c204b28f3ad5117d4a3e8007b1df9998184fb1a
parent540a05bdcba175964206ad6918563366e9f47613 (diff)
Move ffmpeg_log_callback to util.{cc,h}
-rw-r--r--src/lib/util.cc2
-rw-r--r--src/lib/util.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 88e392011..71565e28a 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -393,7 +393,6 @@ capture_asdcp_logs ()
}
-static
void
ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
{
@@ -1214,4 +1213,3 @@ contains_sign_language(ContentList const& content)
return c->video && c->video->type() == VideoType::SIGN_LANGUAGE;
});
}
-
diff --git a/src/lib/util.h b/src/lib/util.h
index 37332f154..79d2191fc 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -103,6 +103,7 @@ extern void setup_grok_library_path();
#endif
extern std::string join_strings(std::vector<std::string> const& in, std::string const& separator = " ");
extern bool contains_sign_language(ContentList const& content);
+extern void ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl);
template <class T>