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

Method Tell

src/core/filehandle.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66int64_t FileHandle::Tell() {
67 int64_t ret = avio_tell(avio);
68 if (ret < 0)
69 throw FFMS_Exception(error_source, error_cause,
70 "Failed to read position in '" + filename + "': " + AVErrorToString(ret));
71 return ret;
72}
73
74size_t FileHandle::Read(char *buffer, size_t size) {
75 int count = avio_read(avio, (unsigned char *)buffer, size);

Callers 1

ReadMethod · 0.80

Calls 2

FFMS_ExceptionClass · 0.85
AVErrorToStringFunction · 0.85

Tested by

no test coverage detected