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@amazon.com>2023-05-13 02:05:31 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-06-16 20:01:32 +0300
commit906ee4b2369d7f0d5526274ee97d39da9ba616ad (patch)
tree2e9ceabb0ac836580202b888b40a3491cdf99b45 /src/opus_demo.c
parent34a4ba0d4f813ffcbcc5a4952c7bb9265e774775 (diff)
DRED refactoring/renaming
Diffstat (limited to 'src/opus_demo.c')
-rw-r--r--src/opus_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_demo.c b/src/opus_demo.c
index 294dd858..e657b5a5 100644
--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -801,7 +801,7 @@ int main(int argc, char *argv[])
opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples));
dred_input = lost_count*output_samples*100/sampling_rate;
/* Only decode the amount we need to fill in the gap. */
- opus_decoder_dred_input(dec, data, len, IMIN(100, IMAX(0, dred_input)));
+ opus_dred_parse(dec, data, len, IMIN(100, IMAX(0, dred_input)));
}
/* FIXME: Figure out how to trigger the decoder when the last packet of the file is lost. */
for (fr=0;fr<run_decoder;fr++) {