| 120 | public: |
| 121 | |
| 122 | FileSource(const string& path): ifile(path, ios::in | ios::binary), filename_copy(path) |
| 123 | { |
| 124 | if (!ifile) |
| 125 | throw std::runtime_error(path + ": Can't open file for reading"); |
| 126 | } |
| 127 | |
| 128 | MediaPacket Read(size_t chunk) override { return FileRead(ifile, chunk, filename_copy); } |
| 129 |
nothing calls this directly
no outgoing calls
no test coverage detected