diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-06-30 07:06:07 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-06-30 07:06:07 +0400 |
commit | dd7b0dac3ba85cda7e314eaa867b4f0d716c9ac4 (patch) | |
tree | 91fe0be58c357fc082d9323f3d99c387dc9fec1d /src/opus_demo.c | |
parent | 90a39039a46040faa944b4690c16452a088016e2 (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.c | 2 |
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; |