]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Remove find_atom() and find_atom_v2().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 21 Aug 2021 14:23:05 +0000 (16:23 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commitf3e604aba139ae764a9606bc4aad3399143ae256
treeef1dcc7b865948778c86830cef9e40ff22309255
parent70941e3cfbdb5af190d76dc8aabb6d57b86638ae
mp4: Remove find_atom() and find_atom_v2().

During mp4_open_meta() we encounter the ILST, META and UDTA atoms
but don't record the size and the location of these atoms. Doing
so allows us to use this information later in mp4_meta_update()
instead of calling find_atom() or find_atom_v2() to search the file
again. This removes some ugly code and speeds up the operation.
mp4.c