summaryrefslogtreecommitdiffstats
path: root/src/input/File.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:30:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:30:20 +0200
commit70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f (patch)
treea21fb353a0b5bcdd89ae249feaf82c4715249cc3 /src/input/File.cpp
parent22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac (diff)
downloaddabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.gz
dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.bz2
dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.zip
Make InputBase::open() return void
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)