aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerparcelmedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerparcelmedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerparcelmedia.cpp b/linden/indra/newview/llviewerparcelmedia.cpp
index 94f6d84..5b255ea 100644
--- a/linden/indra/newview/llviewerparcelmedia.cpp
+++ b/linden/indra/newview/llviewerparcelmedia.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2007&license=viewergpl$ 5 * $LicenseInfo:firstyear=2007&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2007-2008, Linden Research, Inc. 7 * Copyright (c) 2007-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -344,7 +344,7 @@ void LLViewerParcelMedia::processParcelMediaUpdate( LLMessageSystem *msg, void *
344 media_url = media_url_buffer; 344 media_url = media_url_buffer;
345 msg->getU8("DataBlock", "MediaAutoScale", media_auto_scale); 345 msg->getU8("DataBlock", "MediaAutoScale", media_auto_scale);
346 346
347 if (msg->getNumberOfBlocks("DataBlockExtended")) // do we have the extended data? 347 if (msg->has("DataBlockExtended")) // do we have the extended data?
348 { 348 {
349 char media_type_buffer[257]; 349 char media_type_buffer[257];
350 msg->getString("DataBlockExtended", "MediaType", 255, media_type_buffer); 350 msg->getString("DataBlockExtended", "MediaType", 255, media_type_buffer);