]> git.tuebingen.mpg.de Git - paraslash.git/commit - mp4.c
mp4: Simplify read_mp4a().
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 20 Aug 2021 11:38:55 +0000 (13:38 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commite4897ce9b79a58a0ccfe5f6fc2b6d4738710f93f
tree0b55f281c1470a36aeb6c4419274a0e7c98eb8a5
parentcc12c978b4ad5ed927747fbc7e4cf3289b9da15b
mp4: Simplify read_mp4a().

The single caller resets the file offset after the call, so we may
stop reading the atom after we've parsed the last field of interest,
which happens to be the sample rate.
mp4.c