]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Clean up find_standard_meta().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 14 Aug 2021 17:22:17 +0000 (19:22 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commitdab576cb940f48319befac01f67f611f0acabe35
tree93308d2a728e394621613b9722afc2aea1a5f4fb
parent58cf70d4d97f6df98cb3fa204b7ef0bede138caf
mp4: Clean up find_standard_meta().

Use ARRAY_SIZE() instead of open-coding it, move the stdmetas array
into the function since it is only used there, and make it const.
Also replace 0 by NULL, since the function returns a pointer, and
remove the pointless comment.

Finally, move the function and the declaration of the stdmeta_entry
structure closer to its single user.
mp4.c