mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-19 04:56:43 +00:00
Reformatted to fix lint error
This commit is contained in:
parent
a647f44029
commit
463fb9bf6b
2 changed files with 31 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
using System.Net;
|
||||
using System.IO.Compression;
|
||||
using System.IO.Compression;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace FFMpegCore.Helpers;
|
||||
|
@ -9,6 +9,21 @@ namespace FFMpegCore.Helpers;
|
|||
/// </summary>
|
||||
public class FFMpegDownloader
|
||||
{
|
||||
/// <summary>
|
||||
/// Supported FFMpeg versions
|
||||
/// </summary>
|
||||
public enum FFMpegVersions
|
||||
{
|
||||
V4_4_1,
|
||||
V4_2_1,
|
||||
V4_2,
|
||||
V4_1,
|
||||
V4_0,
|
||||
V3_4,
|
||||
V3_3,
|
||||
V3_2
|
||||
}
|
||||
|
||||
private static readonly Dictionary<FFMpegVersions, string> Windows64FFMpegDownloadUrls = new()
|
||||
{
|
||||
{
|
||||
|
@ -42,7 +57,7 @@ public class FFMpegDownloader
|
|||
{
|
||||
FFMpegVersions.V3_2,
|
||||
"https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v3.2/ffmpeg-3.2-win-64.zip"
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
private static readonly Dictionary<FFMpegVersions, string> Windows32FFMpegDownloadUrls = new()
|
||||
|
@ -75,23 +90,8 @@ public class FFMpegDownloader
|
|||
{
|
||||
FFMpegVersions.V3_2,
|
||||
"https://github.com/ffbinaries/ffbinaries-prebuilt/releases/download/v3.2/ffmpeg-3.2-win-32.zip"
|
||||
},
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Supported FFMpeg versions
|
||||
/// </summary>
|
||||
public enum FFMpegVersions
|
||||
{
|
||||
V4_4_1,
|
||||
V4_2_1,
|
||||
V4_2,
|
||||
V4_1,
|
||||
V4_0,
|
||||
V3_4,
|
||||
V3_3,
|
||||
V3_2
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Downloads the latest FFMpeg suite binaries to bin directory.
|
||||
|
|
Loading…
Reference in a new issue