summaryrefslogtreecommitdiffstats
path: root/src/input/Udp.h
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/Udp.h
parent22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac (diff)
downloaddabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.gz
dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.tar.bz2
dabmux-70e72e84212f5b6b15f2e1a2b2d95d1d67abac7f.zip
Make InputBase::open() return void
Diffstat (limited to 'src/input/Udp.h')
-rw-r--r--src/input/Udp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/Udp.h b/src/input/Udp.h
index dd637c6..d74e92f 100644
--- a/src/input/Udp.h
+++ b/src/input/Udp.h
@@ -40,7 +40,7 @@ namespace Inputs {
*/
class Udp : public InputBase {
public:
- virtual int open(const std::string& name);
+ virtual void open(const std::string& name);
virtual int readFrame(uint8_t* buffer, size_t size);
virtual int setBitrate(int bitrate);
virtual int close();
@@ -67,7 +67,7 @@ class Sti_d_Rtp : public Udp {
using vec_u8 = std::vector<uint8_t>;
public:
- virtual int open(const std::string& name);
+ virtual void open(const std::string& name);
virtual int readFrame(uint8_t* buffer, size_t size);
private: