diff options
author | Merov Linden <merov@lindenlab.com> | 2011-03-17 23:19:39 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-03-17 23:19:39 -0700 |
commit | bce92b3ec6d3efb4a2938f35ba7e1803b4b57145 (patch) | |
tree | 76c0ded54ebe614d74d4ad4b577d41abc2630c3a /indra/llaudio/llaudiodecodemgr.cpp | |
parent | d63c1a4df14f5eaeee37b82890a445e912d60683 (diff) | |
parent | 741de388d38290cbb946070a8380f492971dfd2e (diff) |
Pull in merov_linden/viewer-autobuild2010
Diffstat (limited to 'indra/llaudio/llaudiodecodemgr.cpp')
-rw-r--r-- | indra/llaudio/llaudiodecodemgr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 01dfd03c18..f0b44f97d2 100644 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -680,4 +680,10 @@ BOOL LLAudioDecodeMgr::addDecodeRequest(const LLUUID &uuid) return FALSE; } - +#if LL_DARWIN || LL_LINUX +// HACK: to fool the compiler into not emitting unused warnings. +namespace { + const ov_callbacks callback_array[4] = {OV_CALLBACKS_DEFAULT, OV_CALLBACKS_NOCLOSE, OV_CALLBACKS_STREAMONLY, + OV_CALLBACKS_STREAMONLY_NOCLOSE}; +} +#endif |