]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Use para_{c,m}alloc() to allocate memory.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 9 Aug 2021 17:43:36 +0000 (19:43 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commited9c31afce8eaa0bb7bf5f557e213d1193152ca5
treea0e9119ca85748bd4ad64463a37b7921a851b03e
parent4e72fbb0aa074dc4130ce56af73f0b701da5b752
mp4: Use para_{c,m}alloc() to allocate memory.

With mp4ff being internal we can afford to just abort if allocations
fail (which is what the para_ wrappers do). This allows us to simplify
the code quite a bit.

The code used to cast the pointer returned from malloc(). This is
unnecessary, so drop these casts.
mp4.c