search for: opus_packet_get_bandwidth

Displaying 5 results from an estimated 5 matches for "opus_packet_get_bandwidth".

2017 Feb 10
2
Adding a decoder fuzz target
...> Hi Felicia, > > Here's a few comments/questions on your patch: > > > static void ParseToc(const uint8_t toc, TocInfo *const info) { > > Any particular reason you don't use the Opus functions for parsing the > ToC? It seems like opus_packet_get_nb_samples(), > opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do > the trick. > > > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) > > How is that function supposed to work? I noticed that it will only > decode a single packet. How does the fuzzer handle testing for bugs that >...
2017 Jan 27
3
Adding a decoder fuzz target
Hi all, I'm working on fuzzing Opus with OSS-Fuzz and have started with the decoder. Attached is a patch to add the corresponding fuzz target. Please let me know if there are any concerns? Thanks, Felicia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170127/f69951aa/attachment-0001.html>
2017 Jan 30
0
Adding a decoder fuzz target
Hi Felicia, Here's a few comments/questions on your patch: > static void ParseToc(const uint8_t toc, TocInfo *const info) { Any particular reason you don't use the Opus functions for parsing the ToC? It seems like opus_packet_get_nb_samples(), opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do the trick. > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) How is that function supposed to work? I noticed that it will only decode a single packet. How does the fuzzer handle testing for bugs that only happen for a given sequence...
2017 Feb 10
0
Adding a decoder fuzz target
...> Here's a few comments/questions on your patch: > > > static void ParseToc(const uint8_t toc, TocInfo *const info) { > > Any particular reason you don't use the Opus functions for parsing the > ToC? It seems like opus_packet_get_nb_samples(), > opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do > the trick. > > > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) > > How is that function supposed to work? I noticed that it will only > decode a single packet. How does the fuzzer handle testing f...
2012 Oct 19
3
How to cross-compile opus-tools?
...undefined reference to `opus_packet_get_samples_per_frame' src/diag_range.o: In function `save_range': /home/user/source/opus-tools/src/diag_range.c:237: undefined reference to `opus_packet_get_samples_per_frame' /home/user/source/opus-tools/src/diag_range.c:239: undefined reference to `opus_packet_get_bandwidth' collect2: error: ld returned 1 exit status make[2]: *** [opusenc.exe] Error 1 make[2]: Leaving directory `/home/user/source/opus-tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/source/opus-tools' make: *** [all] Error 2 user at xubuntu:~/source/opus-t...