Skip to content

Commit

Permalink
[apps] Fixed warnings (no override, unused var, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko authored and rndi committed Sep 13, 2019
1 parent e0fbec5 commit 62ac8f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/srt-live-transmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ int main(int argc, char** argv)
//
// Set global config variables
//
if (cfg.chunk_size != -1)
if (cfg.chunk_size > 0)
transmit_chunk_size = cfg.chunk_size;
stats_writer = SrtStatsWriterFactory(cfg.stats_pf);
transmit_bw_report = cfg.bw_report;
Expand Down
1 change: 1 addition & 0 deletions apps/transmitbase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ enum PrintFormat
class SrtStatsWriter
{
public:
virtual ~SrtStatsWriter() { };
virtual std::string WriteStats(int sid, const CBytePerfMon& mon) = 0;
virtual std::string WriteBandwidth(double mbpsBandwidth) = 0;
};
Expand Down

0 comments on commit 62ac8f1

Please sign in to comment.