Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ oggcallbackseek
Function
oggcallbackseek
source/src/oggstream.cpp:15–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
}
14
15
static int oggcallbackseek(void *datasource, ogg_int64_t offset, int whence)
16
{
17
stream *s = (stream *)datasource;
18
return s && s->seek(long(offset), whence) ? 0 : -1;
19
}
20
21
static int oggcallbackclose(void *datasource)
22
{
Callers
nothing calls this directly
Calls
1
seek
Method · 0.45
Tested by
no test coverage detected