diff --git a/src/output.zig b/src/output.zig index 7f9abbf..a5ab332 100644 --- a/src/output.zig +++ b/src/output.zig @@ -31,7 +31,7 @@ const Scan = struct { RLE_Seq.init(alloc_root), RLE_Seq.init(alloc_root), RLE_Seq.init(alloc_root), - }, .freqs = [4][]u32{ try alloc.alloc(u32, 257), try alloc.alloc(u32, 257), try alloc.alloc(u32, 257), try alloc.alloc(u32, 257) }, .huffs = [4]Huffman{ + }, .freqs = [4][]u32{ try alloc.alloc(u32, 13), try alloc.alloc(u32, 257), try alloc.alloc(u32, 13), try alloc.alloc(u32, 257) }, .huffs = [4]Huffman{ Huffman.init(alloc), Huffman.init(alloc), Huffman.init(alloc), @@ -124,7 +124,6 @@ fn parse_block(block: *util.BlockQuantized, dc_diff: *i16, rle: *RLE_Seq, dc_fre .symbol = 0x00, .value = 0, }); - std.debug.print("{any}\n", .{rle.items}); } pub fn generate_jpg(buff: util.Buffers, alloc: std.mem.Allocator) !void {