diff options
author | Max Kellermann <max@musicpd.org> | 2019-03-08 10:28:02 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-03-08 10:28:02 +0100 |
commit | 24cde31328e1a42be2804dc41685e230c24e2ea8 (patch) | |
tree | e9f32408e2cbf3aa9b5ef3244aed08569183a160 /src/lib/ffmpeg/Time.hxx | |
parent | f6c0688684b0d1b2445f11a7f8c29e43c54e431e (diff) |
lib/ffmpeg/Time: remove redundant `inline` keywords from `constexpr` functions
Diffstat (limited to 'src/lib/ffmpeg/Time.hxx')
-rw-r--r-- | src/lib/ffmpeg/Time.hxx | 4 |
1 files 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<typename Ratio> -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)) |