summaryrefslogtreecommitdiffstats
path: root/libtransport/src/protocols/fec_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/protocols/fec_base.h')
-rw-r--r--libtransport/src/protocols/fec_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtransport/src/protocols/fec_base.h b/libtransport/src/protocols/fec_base.h
index bda3ee756..28f6a820a 100644
--- a/libtransport/src/protocols/fec_base.h
+++ b/libtransport/src/protocols/fec_base.h
@@ -101,8 +101,10 @@ class FECBase {
/**
* @brief Get size of FEC header.
+ * the fec header size may be different if a packet is a data packet or a FEC
+ * packet
*/
- virtual std::size_t getFecHeaderSize() = 0;
+ virtual std::size_t getFecHeaderSize(bool isFEC) = 0;
/**
* Set callback to call after packet encoding / decoding