aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llaudio/vorbisencode.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:48 -0500
committerJacek Antonelli2008-08-15 23:44:48 -0500
commit9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch)
tree2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/llaudio/vorbisencode.cpp
parentSecond Life viewer sources 1.13.2.12 (diff)
downloadmeta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.zip
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.gz
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.bz2
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.xz
Second Life viewer sources 1.13.2.15
Diffstat (limited to 'linden/indra/llaudio/vorbisencode.cpp')
-rw-r--r--linden/indra/llaudio/vorbisencode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llaudio/vorbisencode.cpp b/linden/indra/llaudio/vorbisencode.cpp
index 6007940..c8716cc 100644
--- a/linden/indra/llaudio/vorbisencode.cpp
+++ b/linden/indra/llaudio/vorbisencode.cpp
@@ -322,7 +322,7 @@ S32 encode_vorbis_file_at(const char *in_fname, const char *out_fname, S32 bitra
322 /* set up our packet->stream encoder */ 322 /* set up our packet->stream encoder */
323 /* pick a random serial number; that way we can more likely build 323 /* pick a random serial number; that way we can more likely build
324 chained streams just by concatenation */ 324 chained streams just by concatenation */
325 ogg_stream_init(&os,(int)frand(0xFFFFFF)); 325 ogg_stream_init(&os, ll_rand());
326 326
327 /* Vorbis streams begin with three headers; the initial header (with 327 /* Vorbis streams begin with three headers; the initial header (with
328 most of the codec setup parameters) which is mandated by the Ogg 328 most of the codec setup parameters) which is mandated by the Ogg