Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 96b48f71 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Allow edit list atom to appear earlier in the file

While processing the 'elst' atom, MPEG4Extractor was expecting duration
and sample rate to already be known. This implies an ordering of atoms
that is not required by the spec, and indeed some muxers may emit the
'elst' atom before the atoms that define sample rate and duration.
This change caches the values from the 'elst' atom until a track has
been completely processed, allowing the 'elst' atom to appear first.

Bug: 63390273
Test: decoded test files, ran CTS
Change-Id: I30abca70ead7990eb8a7d19a2e4b31212b9bc311
parent 3718b84a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment