From 9b12a73dc3e4f6cf9ba26b74b8a963a103e42d61 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 16 Mar 2025 16:43:38 +0100 Subject: formatting --- src/video.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/video.zig') diff --git a/src/video.zig b/src/video.zig index 9cf50eb..d93a444 100644 --- a/src/video.zig +++ b/src/video.zig @@ -27,14 +27,14 @@ pub fn loadVideo(progress_root: std.Progress.Node, filename: [*:0]const u8, text } else unreachable; const codec_par = video_stream.codecpar.*; - std.debug.print("loading codec, size {}x{}, ~{} frames\n", .{ codec_par.width, codec_par.height, video_stream.nb_frames }); var packet = c.av_packet_alloc(); defer c.av_packet_free(&packet); const allocator = std.heap.c_allocator; - const is_hap = codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '1') or codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '5'); + const is_hap = codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '1') or + codec_par.codec_tag == c.MKTAG('H', 'a', 'p', '5'); const decoder = if (is_hap and build_config.have_hap) try hap.HAPDecoder.init(allocator, codec_par) else -- cgit v1.2.3