summaryrefslogtreecommitdiffstats
path: root/src/input/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/File.cpp')
-rw-r--r--src/input/File.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input/File.cpp b/src/input/File.cpp
index 20036ae..3c2ef4c 100644
--- a/src/input/File.cpp
+++ b/src/input/File.cpp
@@ -58,7 +58,7 @@ __attribute((packed))
;
-int FileBase::open(const std::string& name)
+void FileBase::open(const std::string& name)
{
int flags = O_RDONLY | O_BINARY;
if (m_nonblock) {
@@ -70,7 +70,6 @@ int FileBase::open(const std::string& name)
throw std::runtime_error("Could not open input file " + name + ": " +
strerror(errno));
}
- return 0;
}
int FileBase::setBitrate(int bitrate)