]> git.sesse.net Git - greproxy/blobdiff - rsencoder.h
Change FEC implementation.
[greproxy] / rsencoder.h
index ef8f2893451ab67e1308bd4c813ba47665b105c9..6ab6e4b2de6f140a20fe02ce876431fcccc13ca4 100644 (file)
@@ -2,6 +2,7 @@
 #define _RSENCODER_H 1
 
 #include <stdint.h>
+#include <fecpp.h>
 
 #include <string>
 #include <vector>
@@ -20,7 +21,7 @@ private:
 
        Sender *sender;
        std::vector<GREPacket> packet_history;
-       void *rs;
+       fecpp::fec_code rs;
 };
 
 #endif  // !defined(_RSENCODER_H)