From e386c19376fa959b91710145923149d2d5dfbb29 Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@systemlinux.org>
Date: Sun, 24 Oct 2010 19:23:25 +0200
Subject: [PATCH] vss: Initialize all bytes of the FEC header.

Does not matter much but makes valgrind happier.
---
 vss.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vss.c b/vss.c
index 916a71d5..21ac3747 100644
--- a/vss.c
+++ b/vss.c
@@ -211,10 +211,11 @@ static void write_fec_header(struct fec_client *fc, struct vss_task *vsst)
 	write_u32(buf + 14, g->bytes);
 
 	write_u8(buf + 18, fc->current_slice_num);
+	write_u8(buf + 19, 0); /* unused */
 	write_u16(buf + 20, g->slice_bytes);
 	write_u8(buf + 22, g->first_chunk? 0 : 1);
 	write_u8(buf + 23, vsst->header_len? 1 : 0);
-	memset(buf + 24, 0, 7);
+	memset(buf + 24, 0, 8);
 }
 
 static bool need_audio_header(struct fec_client *fc, struct vss_task *vsst)
-- 
2.39.5