projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove an overambitious sanity check in the fecdec filter.
[paraslash.git]
/
para.h
diff --git
a/para.h
b/para.h
index 06eb8b30f617104051fb3260e5b17c261a04ec17..7cdc5e078b360fbb9730e9e5f79b9306c2f6d9fb 100644
(file)
--- a/
para.h
+++ b/
para.h
@@
-250,3
+250,8
@@
static inline long int para_random(unsigned max)
* horribly for characters which have their most significant bit set.
*/
#define para_isspace(c) isspace((int)(unsigned char)(c))
* horribly for characters which have their most significant bit set.
*/
#define para_isspace(c) isspace((int)(unsigned char)(c))
+
+/** Data that indicates an eof-condition for a fec-encoded stream. */
+#define FEC_EOF_PACKET "\xec\x0d\xcc\xfe\0\0\0\0" \
+ "\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0" "\0\0\0\0\0\0\0\0"
+#define FEC_EOF_PACKET_LEN 32