Skip to content

Commit

Permalink
修复偶发无法读取KID的场景
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Apr 5, 2023
1 parent 6bc4e7c commit 3675fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace N_m3u8DL_RE.CommandLine
{
internal partial class CommandInvoker
{
public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20230323";
public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20230405";

[GeneratedRegex("((best|worst)\\d*|all)")]
private static partial Regex ForStrRegex();
Expand Down
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public SimpleDownloadManager(DownloaderConfig downloaderConfig, List<StreamSpec>

private string? ReadInit(string output)
{
var header = new byte[4096]; //4KB
var header = new byte[1 * 1024 * 1024]; //1MB
using (var fs = File.OpenRead(output))
{
fs.Read(header);
Expand Down

0 comments on commit 3675fe5

Please sign in to comment.