Skip to content
Snippets Groups Projects
Commit b0429356 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes missing initialization in OpusMSEncoder

Problem found using valgrind.
parent 1bf32bb5
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,8 @@ int opus_multistream_encoder_init(
st->layout.nb_channels = channels;
st->layout.nb_streams = streams;
st->layout.nb_coupled_streams = coupled_streams;
st->subframe_mem[0]=st->subframe_mem[1]=st->subframe_mem[2]=0;
OPUS_CLEAR(&st->analysis,1);
st->bitrate_bps = OPUS_AUTO;
st->variable_duration = OPUS_FRAMESIZE_ARG;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment