mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Fix C function to comply with improved -Wstrict-prototypes
Bug: b/229072413 Change-Id: Id02a4c92693858864fdadfafdbdd98ed78f1c83e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258790 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36539}
This commit is contained in:
parent
a768f5256a
commit
a19f0c7409
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ static const int kValidRates[] = { 8000, 16000, 32000, 48000 };
|
|||
static const size_t kRatesSize = sizeof(kValidRates) / sizeof(*kValidRates);
|
||||
static const int kMaxFrameLengthMs = 30;
|
||||
|
||||
VadInst* WebRtcVad_Create() {
|
||||
VadInst* WebRtcVad_Create(void) {
|
||||
VadInstT* self = (VadInstT*)malloc(sizeof(VadInstT));
|
||||
|
||||
self->init_flag = 0;
|
||||
|
|
Loading…
Reference in a new issue