From 90d44e12c7521089753cf2fba4ec5708b432ad70 Mon Sep 17 00:00:00 2001 From: OSAMU WATANABE Date: Fri, 30 Oct 2020 12:30:40 +0900 Subject: [PATCH] Fix bug on read_packet.m --- source/Tier2/read_packet.m | 1 - 1 file changed, 1 deletion(-) diff --git a/source/Tier2/read_packet.m b/source/Tier2/read_packet.m index d8297b2..6fb10fc 100644 --- a/source/Tier2/read_packet.m +++ b/source/Tier2/read_packet.m @@ -53,7 +53,6 @@ for b = 1:currentResolution.num_band currentPband = currentPrecinct.precinct_subbands(b); if currentPband.size_x * currentPband.size_y ~= 0 - number_of_bytes = zeros(1, currentPband.numCblksX * currentPband.numCblksY); for idx = 0:currentPband.numCblksX * currentPband.numCblksY - 1 number_of_bytes(count) = parse_packet_header(packetHeader, l, currentPband, currentPband.Cblks(idx + M_OFFSET), main_header.Cap15_b14_15); if DEBUG == 1