diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-03-20 07:36:16 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-03-20 07:36:16 -0400 |
| commit | 1e34cd77f7858f0a79d82d405be76837aa2af04e (patch) | |
| tree | 40530bc9ab88fca0fcee1c4bce02d2020a1a6b1e /indra/llaudio/llaudiodecodemgr.cpp | |
| parent | f122d0939060fd597820a71d85a5c0d839bcff5d (diff) | |
| parent | 6d3cf2bba29d3134b4ec151df3a8ca92e3506c6b (diff) | |
pull STORM-1089 beta fixes to autobuild2010 branch
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 |
