Cargo Features

avif-parse has no features set by default.

[dependencies]
avif-parse = { version = "1.0.0", features = ["mp4parse_fallible"] }
mp4parse_fallible

Enable mp4parse_fallible to use fallible memory allocation rather than panicking on OOM. Note that this is only safe within Gecko where the system allocator has been globally overridden (see BMO 1457359).