A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Haivision/srt/commit/5247d91b0b5d0016ee65714a867ff52e17e3bf2f below:

[core] Fixed CUDT::packUniqueData return value. · Haivision/srt@5247d91 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -226,7 +226,7 @@ class CRcvBufferNew

226 226

private:

227 227

inline int incPos(int pos, int inc = 1) const { return (pos + inc) % m_szSize; }

228 228

inline int decPos(int pos) const { return (pos - 1) >= 0 ? (pos - 1) : int(m_szSize - 1); }

229 -

inline int offPos(int pos1, int pos2) const { return (pos2 >= pos1) ? (pos2 - pos1) : (m_szSize + pos2 - pos1); }

229 +

inline int offPos(int pos1, int pos2) const { return (pos2 >= pos1) ? (pos2 - pos1) : int(m_szSize + pos2 - pos1); }

230 230 231 231

private:

232 232

void countBytes(int pkts, int bytes);

Original file line number Diff line number Diff line change

@@ -9704,7 +9704,7 @@ bool srt::CUDT::packUniqueData(CPacket& w_packet, time_point& w_origintime)

9704 9704

// Encryption failed

9705 9705

//>>Add stats for crypto failure

9706 9706

LOGC(qslog.Warn, log << "ENCRYPT FAILED - packet won't be sent, size=" << pld_size);

9707 -

return -1;

9707 +

return false;

9708 9708

}

9709 9709

}

9710 9710

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4