From 839b9527afaf24bc874516469cccba2f2011e1bd Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Wed, 1 Sep 2021 14:28:07 +0300 Subject: [PATCH] Fix nal unit debug printing when VERBOSE is used --- src/nal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nal.c b/src/nal.c index 45f68127..e9278943 100644 --- a/src/nal.c +++ b/src/nal.c @@ -72,7 +72,7 @@ void kvz_nal_write(bitstream_t * const bitstream, const uint8_t nal_type, // ToDo: Match with the actual bits printf("%-50s u(%d) : %d\n", "zero_tid_required_flag", 1, zero_tid_required_flag); printf("%-50s u(%d) : %d\n", "nuh_temporal_id_plus1", 3, temporal_id + 1); - printf("%-50s u(%d) : %d\n", "nal_unit_type_lsb", 4, nal_type_lsb); + printf("%-50s u(%d) : %d\n", "nal_unit_type_lsb", 4, nal_type); printf("%-50s u(%d) : %d\n", "nuh_layer_id_plus1", 7, 0); printf("%-50s u(%d) : %d\n", "nuh_reserved_zero_bit", 1, 0); #endif