summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-12-03 19:36:44 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-12-03 19:36:44 +0000
commitd5eef2d8a6cc0d5855d68d0726565e07d46211b2 (patch)
tree0138cd5a59971a52b20627f28af4197198f4e2f9 /indra/newview/llviewermenufile.cpp
parent7b7dd4e6f61aa731ef7f9f255014f5b76d5b9fec (diff)
merge -r 73391:74133 maint-ui-3 -> release
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index 13ff55ce1c..291e3da13d 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -596,15 +596,9 @@ void upload_new_resource(const LLString& src_filename, std::string name,
asset_type = LLAssetType::AT_SOUND; // tag it as audio
S32 encode_result = 0;
- S32 bitrate = 128;
+ llinfos << "Attempting to encode wav as an ogg file" << llendl;
- if (compression_info)
- {
- bitrate = compression_info;
- }
- llinfos << "Attempting to encode wav as an ogg file at " << bitrate << "kbps" << llendl;
-
- encode_result = encode_vorbis_file_at(src_filename.c_str(), filename.c_str(), bitrate*1000);
+ encode_result = encode_vorbis_file(src_filename.c_str(), filename.c_str());
if (LLVORBISENC_NOERR != encode_result)
{