From 24cde31328e1a42be2804dc41685e230c24e2ea8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 8 Mar 2019 10:28:02 +0100 Subject: [PATCH] lib/ffmpeg/Time: remove redundant `inline` keywords from `constexpr` functions --- src/lib/ffmpeg/Time.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ffmpeg/Time.hxx b/src/lib/ffmpeg/Time.hxx index e172126aa..781306331 100644 --- a/src/lib/ffmpeg/Time.hxx +++ b/src/lib/ffmpeg/Time.hxx @@ -53,7 +53,7 @@ FfmpegTimeToDouble(int64_t t, const AVRational time_base) noexcept * Convert a std::ratio to a #AVRational. */ template -static inline constexpr AVRational +constexpr AVRational RatioToAVRational() { return { Ratio::num, Ratio::den }; @@ -99,7 +99,7 @@ ToFfmpegTime(SongTime t, const AVRational time_base) noexcept /** * Replace #AV_NOPTS_VALUE with the given fallback. */ -static constexpr int64_t +constexpr int64_t FfmpegTimestampFallback(int64_t t, int64_t fallback) { return gcc_likely(t != int64_t(AV_NOPTS_VALUE))