From 31e24ad36c5c42a77063d05997e842720be8b4c6 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Thu, 24 Jun 2021 18:11:09 -0600 Subject: [PATCH] Removed unused fields and properties. Removed unused fields. --- FileLiberator/AaxcDownloadDecrypt/FFMpegAaxcProcesser.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/FileLiberator/AaxcDownloadDecrypt/FFMpegAaxcProcesser.cs b/FileLiberator/AaxcDownloadDecrypt/FFMpegAaxcProcesser.cs index 5a0ae156..6503707e 100644 --- a/FileLiberator/AaxcDownloadDecrypt/FFMpegAaxcProcesser.cs +++ b/FileLiberator/AaxcDownloadDecrypt/FFMpegAaxcProcesser.cs @@ -19,9 +19,6 @@ namespace FileLiberator.AaxcDownloadDecrypt private static Regex processedTimeRegex = new Regex("time=(\\d{2}):(\\d{2}):(\\d{2}).\\d{2}", RegexOptions.IgnoreCase | RegexOptions.Compiled); - private static Regex durationRegex = new Regex("Duration: (\\d{2}):(\\d{2}):(\\d{2}).\\d{2}", RegexOptions.IgnoreCase | RegexOptions.Compiled); - private TimeSpan duration { get; set; } - private TimeSpan position { get; set; } public FFMpegAaxcProcesser(string ffmpegPath) { FFMpegPath = ffmpegPath; @@ -95,7 +92,7 @@ namespace FileLiberator.AaxcDownloadDecrypt int minutes = int.Parse(match.Groups[2].Value); int seconds = int.Parse(match.Groups[3].Value); - position = new TimeSpan(hours, minutes, seconds); + var position = new TimeSpan(hours, minutes, seconds); ProgressUpdate?.Invoke(sender, position); }