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:
authorKoen Vos <koen.vos@skype.net>2012-07-12 22:55:49 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-10-10 21:41:07 +0400
commit0b00b3196713305443080aaf35f1ddc05ce94306 (patch)
tree64bc8bc50a7ae3a14920c4ed1c7d1eb7474a9920 /src/opus_private.h
parentb56c278b0edc7dff90b1a930e8b79edfb4fc4829 (diff)
Attenuates the HF in hybrid mode to match what SILK does below the cutoff
Conflicts: src/opus_multistream.c src/opus_private.h
Diffstat (limited to 'src/opus_private.h')
-rw-r--r--src/opus_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_private.h b/src/opus_private.h
index 52482bc1..e4f4c76e 100644
--- a/src/opus_private.h
+++ b/src/opus_private.h
@@ -77,7 +77,7 @@ int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 le
/* Make sure everything's aligned to sizeof(void *) bytes */
static inline int align(int i)
{
- return (i+sizeof(void *)-1)&-((int)sizeof(void *));
+ return (i+(int)sizeof(void *)-1)&-(int)sizeof(void *);
}
opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen, int self_delimited);