shithub: opus

Download patch

ref: f982b84d1e0a5787526bd6ca650d27a0162c2134
parent: 42f39c547b5a377cd80f749e0ec4a3ebd9664341
author: Jean-Marc Valin <[email protected]>
date: Mon Mar 11 12:25:44 EDT 2013

Fixes a minor glitch on SILK bandwidth changes

We weren't doing the prefilling for SILK->SILK transitions.

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -1112,6 +1112,7 @@
        redundancy = 1;
        celt_to_silk = 1;
        st->silk_bw_switch = 0;
+       prefill=1;
     }
 
     if (redundancy)