shithub: opus

Download patch

ref: cdaf661e8d3e85770bf06db8cff12ae6be7fa2a6
parent: 57092f9dca12f587a5fc1625f45d88c6977edc81
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Wed Feb 13 11:15:38 EST 2019

Reset nb_no_activity_frames when analysis DTX isn't used

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -2150,6 +2150,8 @@
           RESTORE_STACK;
           return 1;
        }
+    } else {
+       st->nb_no_activity_frames = 0;
     }
 #endif