Skip to content

Commit

Permalink
优化ffmpeg版本检测正则表达式
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Feb 26, 2023
1 parent e4e9c21 commit 364ef47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBDown/BBDownUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ public static async Task<bool> CheckLogin(string cookie)
private static partial Regex McdnRegex();
[GeneratedRegex("(^|&)?(\\w+)=([^&]+)(&|$)?", RegexOptions.Compiled)]
private static partial Regex QueryRegex();
[GeneratedRegex("libavutil\\s+(\\d+)\\. (\\d+)\\.")]
[GeneratedRegex("libavutil\\s+(\\d+)\\. +(\\d+)\\.")]
private static partial Regex LibavutilRegex();
}
}

0 comments on commit 364ef47

Please sign in to comment.