]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Simplify mp4_num_samples().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 28 Aug 2021 18:29:06 +0000 (20:29 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 27 Jun 2022 14:45:56 +0000 (16:45 +0200)
commit76d113c01c9d97a43c361252fef65ba4b1e4da6c
tree1b5b31508424b55dc77341968975e59247b448cd
parent0c913731ca6a1f65b52f47f8797bb6031cb7523b
mp4: Simplify mp4_num_samples().

We don't need to iterate over the entries of the stts_sample_count
array because the number stored in the stsz_sample_count field should
be identical to the sum of the sample counts.
mp4.c