A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using FFmpeg.AutoGen;
5
6namespace osu.Framework.Graphics.Video
7{
8 internal static class FfmpegExtensions
9 {
10 internal static double GetValue(this AVRational rational) => rational.num / (double)rational.den;
11 }
12}