lib/ffmpeg/Time: remove redundant inline
keywords from constexpr
functions
This commit is contained in:
parent
f6c0688684
commit
24cde31328
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user