]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - vss.c
Recognize the eof packet also in the udp receiver.
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index ef3b1742decb54c69bf3d91857695e97ea4b6374..481c0b68e19fb342489736c3f2c36d6e92eb9b1c 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -304,11 +304,7 @@ static int compute_next_fec_slice(struct fec_client *fc, struct vss_task *vsst)
  */
 size_t vss_get_fec_eof_packet(const char **buf)
 {
-       static const char fec_eof_packet[FEC_HEADER_SIZE] =
-       "\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";
+       static const char fec_eof_packet[FEC_HEADER_SIZE] = FEC_EOF_PACKET;
        *buf = fec_eof_packet;
        return FEC_HEADER_SIZE;
 }