diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-04-10 22:40:57 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-04-10 22:40:57 -0400 |
| commit | 0c05c8c89632d2747ca8b364ff663d1d5505fb4d (patch) | |
| tree | 9f01f2c772212fcad555176a272265b5b4d67b09 /indra/llaudio/llaudiodecodemgr.cpp | |
| parent | dff83a1ba0592049ccdcd31177c183d62df65e85 (diff) | |
| parent | ee9eef505279bf3983ec5fe4ce64ba3c38f0a76a (diff) | |
merge changes for storm-1117
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 |
