]> git.tue.mpg.de Git - paraslash.git/commit
mp4: Clean up membuffer_transfer_from_file().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 14 Aug 2021 21:14:38 +0000 (23:14 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commitfb18b57182f12b29147111ea9729e004518c385e
tree85d7bd0fa0d9d355255f4c24678782077835a778
parent93d7c4bf859117e8003e30e557159efe5f735d82
mp4: Clean up membuffer_transfer_from_file().

The buffer pointer can never be NULL, so drop this check. Next, instead
of defining a void * pointer and cast it to char *, use char * directly.
Finally, the cast to unsigned has no effect, so drop it.
mp4.c