MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Load

Method Load

ogsr_engine/xr_3da/xrTheora_Stream.cpp:242–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242BOOL CTheoraStream::Load(const char* fname)
243{
244 VERIFY(0 == source);
245 // open source
246 source = FS.rs_open(0, fname);
247 VERIFY(source);
248
249 // parse headers
250 BOOL res = ParseHeaders();
251 // seek to start
252 Reset();
253 return res;
254}

Callers

nothing calls this directly

Calls 2

rs_openMethod · 0.80
ResetFunction · 0.70

Tested by

no test coverage detected