diff options
Diffstat (limited to '')
-rw-r--r-- | src/brr.zig | 2 | ||||
-rw-r--r-- | src/main.zig | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/brr.zig b/src/brr.zig index 9c57076..bbacdd7 100644 --- a/src/brr.zig +++ b/src/brr.zig @@ -11,8 +11,6 @@ pub fn brr(allocator: std.mem.Allocator, file: [*:0]const u8) !void { return; }; - std.log.debug("file {s}", .{file}); - if (c.mpg123_open(handle, file) != c.MPG123_OK) { std.log.warn("Failed to open the file: {s}\n", .{file}); return; diff --git a/src/main.zig b/src/main.zig index 590f3b3..15df5c9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -51,7 +51,7 @@ pub fn main() !void { if (args.len == 3) { if (std.mem.eql(u8, args[1], "brr")) { - try brr.brr(std.heap.c_allocator, args[2]); + try brr.brr(allocator, args[2]); return; } } |