summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2016-11-03 15:25:33 -0700
committerRalph Giles <giles@thaumas.net>2016-11-10 19:52:58 -0800
commit3fdfcd40457968a5b639095e40ebd0cde29453c6 (patch)
tree4bb9130ab6695cd500d3ee08473c0426cfde414f /src
parentf4389ef7a97ddf6a91142ab8c47c21f7f1c08631 (diff)
downloadopus-3fdfcd40457968a5b639095e40ebd0cde29453c6.tar.gz
Remove commented-out DEBUG_STORE_DATA calls. r=keon
Also remove the SILK_DEBUG_STORE_CLOSE_FILES flush call from opus_demo. This is debugging code which is no longer used, but defining the symbols for SILK_DEBUG_STORE_CLOSE_FILES and calling it from opus_demo causes linking problems on Microsoft Visual Studio where we have strict controls on public symbols and want to test the compiled DLL. Since the code isn't in active use, it's better to remove it to avoid clutter and address the linking issue.
Diffstat (limited to 'src')
-rw-r--r--src/opus_demo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opus_demo.c b/src/opus_demo.c
index df9e70de..bdb66bd8 100644
--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -876,8 +876,6 @@ int main(int argc, char *argv[])
1e-3*bits_act*sampling_rate/(1e-15+frame_size*(double)count_act));
fprintf (stderr, "bitrate standard deviation: %7.3f kb/s\n",
1e-3*sqrt(bits2/count - bits*bits/(count*(double)count))*sampling_rate/frame_size);
- /* Close any files to which intermediate results were stored */
- SILK_DEBUG_STORE_CLOSE_FILES
silk_TimerSave("opus_timing.txt");
opus_encoder_destroy(enc);
opus_decoder_destroy(dec);