diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-04-06 07:35:29 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-04-06 07:35:29 -0400 |
| commit | 96adfcfaedb2304661df15223a3df7f701b73493 (patch) | |
| tree | 484b3b99cc411a394694721f5b309f07839f1a2a /indra/llaudio/llaudiodecodemgr.cpp | |
| parent | 40e14802e3f5bc78546c8ed38fb1a28e46b0dd7c (diff) | |
| parent | f41cbc0ac85ae328f2701aab23e94c0ef7ab5758 (diff) | |
merge changes for vwr-25269
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 |
