diff options
Diffstat (limited to 'linden/indra/newview/llviewerparcelmedia.cpp')
-rw-r--r-- | linden/indra/newview/llviewerparcelmedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerparcelmedia.cpp b/linden/indra/newview/llviewerparcelmedia.cpp index 956ed03..5f29ea6 100644 --- a/linden/indra/newview/llviewerparcelmedia.cpp +++ b/linden/indra/newview/llviewerparcelmedia.cpp | |||
@@ -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); |