Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-06-30 07:06:07 +0400
committerGregory Maxwell <greg@xiph.org>2013-06-30 07:06:07 +0400
commitdd7b0dac3ba85cda7e314eaa867b4f0d716c9ac4 (patch)
tree91fe0be58c357fc082d9323f3d99c387dc9fec1d /src/opus_demo.c
parent90a39039a46040faa944b4690c16452a088016e2 (diff)
Fixes some return without va_end in the api, adds tests.
Also makes the CTL bad argument handling more consistent to avoid mistakes like that in the future. Also updates the variable duration docs.
Diffstat (limited to 'src/opus_demo.c')
-rw-r--r--src/opus_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_demo.c b/src/opus_demo.c
index 3709c3af..9771ed8b 100644
--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -272,7 +272,7 @@ int main(int argc, char *argv[])
int curr_mode=0;
int curr_mode_count=0;
int mode_switch_time = 48000;
- int nb_encoded;
+ int nb_encoded=0;
int remaining=0;
int variable_duration=OPUS_FRAMESIZE_ARG;
int delayed_decision=0;