diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:52:37 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:52:37 -0400 |
commit | d0ba2bc847b5addf16cf90cea34de5194cd61511 (patch) | |
tree | a7f80f0c8bb60f497fee8b49b75faa40e0b0ab52 /indra/llaudio/llaudiodecodemgr.cpp | |
parent | e23eeb7ed20055e1a95ea87e0014ba141f4ab0bb (diff) | |
parent | 5e617d77f34f17f7a8f3677270f2738f857a60b8 (diff) |
pull latest changes from viewer-development
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 |