| 57 | } |
| 58 | |
| 59 | void 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 | |
| 66 | int64_t FileHandle::Tell() { |
| 67 | int64_t ret = avio_tell(avio); |
no test coverage detected