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

Method Size

src/core/filehandle.cpp:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98int64_t FileHandle::Size() {
99 int64_t size = avio_size(avio);
100 if (size < 0)
101 throw FFMS_Exception(error_source, FFMS_ERROR_FILE_READ,
102 "Failed to get file size for '" + filename + "': " + AVErrorToString(size));
103 return size;
104}
105
106int FileHandle::Printf(const char *fmt, ...) {
107 va_list args;

Callers 1

Calls 2

FFMS_ExceptionClass · 0.85
AVErrorToStringFunction · 0.85

Tested by

no test coverage detected