Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2015-12-30 22:21:34 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2015-12-30 22:21:34 +0300
commitfa73e75f701980ab214b68e4dc5767e7ddbabb18 (patch)
tree740fc0a921b6c9c990a5b5b87163822ceaff109d /src/opus_decoder.c
parent9a08ae0d3d06d6499ae58c3845fc60c7156cfcd3 (diff)
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.c2
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;
};