]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Simplify parse_sub_atoms().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 23 Aug 2021 14:18:17 +0000 (16:18 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:36 +0000 (21:37 +0200)
commiteb369edec255c992294a77b83f981e46c5de7906
tree83907bcfdbd75922167583506990ac763269f5db
parent18ea2d87153bfcf386905b7c36b425d8e7bcc592
mp4: Simplify parse_sub_atoms().

This converts the while loop into a for loop and replaces the
counted_size variable by "dest" to clarify the loop structure. We
also move the two 8-bit variables into the loop as they are only used
there and skip their pointless initializations.
mp4.c