Put Time types in dcpomatic namespace.
[dcpomatic.git] / src / lib / file_group.cc
index e18b9824e27181543ab271546ac6853d985f90a9..942eb435d87f081e38ef5e48bf53ea0e4dd3cdea 100644 (file)
@@ -162,7 +162,7 @@ FileGroup::read (uint8_t* buffer, int amount) const
                        break;
                }
 
-               if (ferror(_current_file) && errno != EAGAIN) {
+               if (ferror(_current_file)) {
                        throw FileError (String::compose("fread error %1", errno), _paths[_current_path]);
                }