diff options
author | Tristan Matthews <tmatth@videolan.org> | 2019-02-28 00:47:06 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2019-02-28 19:06:52 +0300 |
commit | 834c07fbe4ac0d60233ae688477f0008fb0d08fd (patch) | |
tree | 779dc1633c916344d482636ef312b290eaec366c | |
parent | a586344ea1e7521c54dd51f06e57e1c19eedf089 (diff) |
speexdec_fuzzer: drop write-only variable
-rw-r--r-- | contrib/oss-fuzz/speexdec_fuzzer.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/oss-fuzz/speexdec_fuzzer.cc b/contrib/oss-fuzz/speexdec_fuzzer.cc index 1479613..950b30f 100644 --- a/contrib/oss-fuzz/speexdec_fuzzer.cc +++ b/contrib/oss-fuzz/speexdec_fuzzer.cc @@ -144,7 +144,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *fuzz_data, size_t fuzz_size int print_bitrate=0; int close_in=0; int eos=0; - int audio_size=0; SpeexStereoState stereo = SPEEX_STEREO_STATE_INIT; int channels=-1; int rate=0; @@ -268,11 +267,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *fuzz_data, size_t fuzz_size new_frame_size = 0; if (new_frame_size>frame_size) new_frame_size = frame_size; - /*printf ("chopping end: %d %d %d\n", new_frame_size, packet_length, packet_no);*/ - } - if (new_frame_size>0) - { - audio_size+=sizeof(short)*new_frame_size*channels; } } } |