shithub: opus-tools

Download patch

ref: cbee4c0f7751da0bb8743a3112c38592abc78248
parent: 04823b0574ae581140912af52bc6ed5338b3f12b
author: Gregory Maxwell <greg@xiph.org>
date: Mon Jan 23 07:22:09 EST 2012

In opusdec fill resampler with 0 rather than 200. Reported by kode@bender.sjeng.org and ron@debian.org.

--- a/src/opusdec.c
+++ b/src/opusdec.c
@@ -794,7 +794,7 @@
       int drain;
 
       for (i=0;i<200;i++)
-         zeros[i] = 200;
+         zeros[i] = 0;
       drain = speex_resampler_get_input_latency(resampler);
       do {
          int tmp = drain;
--