Fixes a minor glitch on SILK bandwidth changes

We weren't doing the prefilling for SILK->SILK transitions.
This commit is contained in:
Jean-Marc Valin 2013-03-11 16:25:44 -04:00
parent 42f39c547b
commit f982b84d1e

View file

@ -1112,6 +1112,7 @@ opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_
redundancy = 1;
celt_to_silk = 1;
st->silk_bw_switch = 0;
prefill=1;
}
if (redundancy)