mozilla / mp4parse-rust

Parser for ISO Base Media Format aka video/mp4 written in Rust.
Mozilla Public License 2.0
404 stars 62 forks source link

Don't fail when the wave atom contains different atoms than esds #420

Open AdrianEddy opened 3 months ago

AdrianEddy commented 3 months ago

This PR changes the behavior of the wave atom parsing such that it doesn't fail when that atom contains unknown (not implemented) boxes. Example file where this happens: https://drive.google.com/file/d/1NbX5QlSR8BLuHK2uj0lm14yJ0DJ3jT4H/view?usp=sharing

Instead of failing to parse the entire file, just skip that box and leave codec_specific as None