]> git.tue.mpg.de Git - paraslash.git/commit
mp4: Introduce mp4ff_get_duration().
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 11 Aug 2021 13:41:37 +0000 (15:41 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commit15aeb1f5cc5bf5c4925897d5ae54d2b350822790
tree3125ee0df7303d52ab295f1994c356fdfc5aec27
parent05ffeb76c9640ff36722d8f4e9787e3ef1b187d3
mp4: Introduce mp4ff_get_duration().

This allows us to get rid of an ugly hack in aac_afh.c where we peeked
at the audio-specific config structure to get the scaling factor which
was needed to compute the duration.
aac_afh.c
mp4.c
mp4.h