diff --git a/libavcodec/opus/enc_psy.c b/libavcodec/opus/enc_psy.c index ae9ae021d8..a7a1f1ff8e 100644 --- a/libavcodec/opus/enc_psy.c +++ b/libavcodec/opus/enc_psy.c @@ -312,6 +312,7 @@ void ff_opus_psy_celt_frame_init(OpusPsyContext *s, CeltFrame *f, int index) f->silence = silence; if (f->silence) { f->framebits = 0; /* Otherwise the silence flag eats up 16(!) bits */ + f->intensity_stereo = f->end_band; /* Read by postencode_update for avg_is_band */ return; }