summaryrefslogtreecommitdiff
path: root/src/opus_decoder.c
diff options
context:
space:
mode:
authorKoen Vos <koen.vos@skype.net>2012-07-12 14:55:49 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-10-10 13:41:07 -0400
commit0b00b3196713305443080aaf35f1ddc05ce94306 (patch)
tree64bc8bc50a7ae3a14920c4ed1c7d1eb7474a9920 /src/opus_decoder.c
parentb56c278b0edc7dff90b1a930e8b79edfb4fc4829 (diff)
downloadopus-0b00b3196713305443080aaf35f1ddc05ce94306.tar.gz
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_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 161bd026..be6ae401 100644
--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -693,7 +693,7 @@ static int opus_packet_parse_impl(const unsigned char *data, opus_int32 len,
*out_toc = toc;
if (payload_offset)
- *payload_offset = data-data0;
+ *payload_offset = (int)(data-data0);
return count;
}