| 96 | } |
| 97 | |
| 98 | int64_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 | |
| 106 | int FileHandle::Printf(const char *fmt, ...) { |
| 107 | va_list args; |
no test coverage detected