]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Reduce atom parsing to the bare minimum.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 19 Aug 2021 18:07:13 +0000 (20:07 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commit0b046b51b2eda96bc109b7faa103a444e4470857
tree5c5ac72ceef1e2792c5346afa6f0d7f0d6d90606
parent13273bf45126e8254dabce13bbdcfdfc396868ef
mp4: Reduce atom parsing to the bare minimum.

This replaces need_parse_when_meta_only() by need_atom() which is
called from parse_sub_atoms() for both regular opens and meta-only
opens to decide if the detected atom needs to be parsed.

After this patch we skip more atoms than we used to do, speeding up
the operation for both kinds of opens.
mp4.c