]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Simplify membuffer_create().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 14 Aug 2021 20:40:00 +0000 (22:40 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commite85bf87e4a33514e66125547ad8b83c736023ced
treef0bcc4631c5c565af358d146b332f96bc752bc60
parent7f29c8effd9e1e534176d453b37e507e0600d7e7
mp4: Simplify membuffer_create().

Since para_malloc() never returns NULL, the error state can only be
zero. Use para_calloc(), skip the zero initializations and kill a
pointless local variable.
mp4.c