]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Use read/write functions from portable_io.h.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 9 Aug 2021 21:13:35 +0000 (23:13 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commit6d87d92d6be3d9aeeda162e639ec9e25d2e0f06d
treedf907b2e4247cd502f2fbdeef078c84c663ed7e9
parent5c31a83497cdcec70be18555af6430fc99b09531
mp4: Use read/write functions from portable_io.h.

This removes quite a bit of ugly code. In particular, atom_get_size()
is completely unnecessary and can be removed. Since there is no
function in portable_io.h to read a 24 bit integer, we have to add
read_u24_be().
mp4.c
portable_io.h