]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Drop integer return type from modify_moov().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 14 Aug 2021 18:53:15 +0000 (20:53 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commita8c015f72b358b5f31f35408da8d0983c864aa25
tree19fb5518bd269705a29eb0a955b9294af143672f
parentfa02aa1d7ab03948198dad8329ea0bcf6b176a60
mp4: Drop integer return type from modify_moov().

This function returns either zero or one to indicate success. On
success, a pointer to a buffer and the buffer size are returned. It
is simpler and less redundant to indicate failure by returning a NULL
buffer pointer. Rather than using a void ** argument for the buffer,
let the function return void *.
mp4.c