Calling srand() was probably not a good idea add_chaining1
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 2 May 2017 19:48:47 +0000 (15:48 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 2 May 2017 19:48:47 +0000 (15:48 -0400)
commit2347d1570f016b15d4fa2afc641b77e5dfcda2a3
tree1a28030f40f0f67b38659bac29405ba70da0fb73
parentb30da997ca1ba6d69815bd0ff06f15ecb03a5a6e
Calling srand() was probably not a good idea

Not a good thing to do from a library and if chains are short, we get the
same random number twice, which is even worse.
src/opusenc.c