]> git.sesse.net Git - greproxy/blobdiff - rsdecoder.h
Change FEC implementation.
[greproxy] / rsdecoder.h
index c4303f00cb543d0d4110c9d3f2dba641531324b6..8e63aa67a8a7b12b0bd8c708d3d38279f9c20ae6 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _RSDECODER_H
 #define _RSDECODER_H 1
 
+#include <fecpp.h>
 #include <stdint.h>
 
 #include <map>
@@ -21,7 +22,7 @@ private:
        };
        Sender *sender;
        std::map<int, RSGroup> rs_groups;
-       void *rs;
+       fecpp::fec_code rs;
 };
 
 #endif  /* !defined(_RSDECODER_H) */