forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

esds_parse.rs13 lines, 385 bytesHistoryRawDownload
1#![no_main]
2
3use ec_mp4::Esds;
4use libfuzzer_sys::fuzz_target;
5
6// The whole input is the payload of an `esds` box, after its version/flags word:
7// the ES, DecoderConfig and DecoderSpecificInfo descriptors.
8fuzz_target!(|data: &[u8]| {
9 if let Ok(esds) = Esds::parse(data) {
10 let _ = esds.is_aac();
11 let _ = esds.decoder_specific.as_ref().map(|c| c.len());
12 }
13});