Commit 24cde313 authored by Max Kellermann's avatar Max Kellermann

lib/ffmpeg/Time: remove redundant `inline` keywords from `constexpr` functions

parent f6c06886
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment