MCPcopy Create free account
hub / github.com/FFMS/ffms2 / Seek

Method Seek

src/core/filehandle.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void FileHandle::Seek(int64_t offset, int origin) {
60 int64_t ret = avio_seek(avio, offset, origin);
61 if (ret < 0)
62 throw FFMS_Exception(error_source, error_cause,
63 "Failed to seek in '" + filename + "': " + AVErrorToString(ret));
64}
65
66int64_t FileHandle::Tell() {
67 int64_t ret = avio_tell(avio);

Callers 1

Calls 2

FFMS_ExceptionClass · 0.85
AVErrorToStringFunction · 0.85

Tested by

no test coverage detected