aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/oggtheora/oggstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/fmv/oggtheora/oggstate.cpp')
-rw-r--r--engines/sword25/fmv/oggtheora/oggstate.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/engines/sword25/fmv/oggtheora/oggstate.cpp b/engines/sword25/fmv/oggtheora/oggstate.cpp
index 750fe382d4..11788ce53b 100644
--- a/engines/sword25/fmv/oggtheora/oggstate.cpp
+++ b/engines/sword25/fmv/oggtheora/oggstate.cpp
@@ -38,36 +38,37 @@
#include "sword25/fmv/oggtheora/oggstate.h"
-namespace Sword25 {
-
// -----------------------------------------------------------------------------
-OggState::OggState() {
+BS_OggState::BS_OggState()
+{
ogg_sync_init(&m_SyncState);
}
// -----------------------------------------------------------------------------
-OggState::~OggState() {
+BS_OggState::~BS_OggState()
+{
ogg_sync_clear(&m_SyncState);
}
// -----------------------------------------------------------------------------
-int OggState::SyncPageout(ogg_page *OggPage) {
+int BS_OggState::SyncPageout(ogg_page * OggPage)
+{
return ogg_sync_pageout(&m_SyncState, OggPage);
}
// -----------------------------------------------------------------------------
-char *OggState::SyncBuffer(long Size) {
+char * BS_OggState::SyncBuffer(long Size)
+{
return ogg_sync_buffer(&m_SyncState, Size);
}
// -----------------------------------------------------------------------------
-int OggState::SyncWrote(long Bytes) {
+int BS_OggState::SyncWrote(long Bytes)
+{
return ogg_sync_wrote(&m_SyncState, Bytes);
}
-
-} // End of namespace Sword25