diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2015-12-30 14:21:34 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2015-12-30 14:21:34 -0500 |
commit | fa73e75f701980ab214b68e4dc5767e7ddbabb18 (patch) | |
tree | 740fc0a921b6c9c990a5b5b87163822ceaff109d /src/opus_decoder.c | |
parent | 9a08ae0d3d06d6499ae58c3845fc60c7156cfcd3 (diff) | |
download | opus-fa73e75f701980ab214b68e4dc5767e7ddbabb18.tar.gz |
Avoids having the Opus-level "arch" be set to 0 on encoder/decoder reset
Diffstat (limited to 'src/opus_decoder.c')
-rw-r--r-- | src/opus_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_decoder.c b/src/opus_decoder.c index c41985e9..080bec50 100644 --- a/src/opus_decoder.c +++ b/src/opus_decoder.c @@ -59,6 +59,7 @@ struct OpusDecoder { opus_int32 Fs; /** Sampling rate (at the API level) */ silk_DecControlStruct DecControl; int decode_gain; + int arch; /* Everything beyond this point gets cleared on a reset */ #define OPUS_DECODER_RESET_START stream_channels @@ -75,7 +76,6 @@ struct OpusDecoder { #endif opus_uint32 rangeFinal; - int arch; }; |