From 7d4617a7a28fbeff73078d1fa55fd66ad6dc546c Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 12 Mar 2010 22:40:17 +0000 Subject: init stream_tcp_header_t::stream to 0 --- tools/backgroundwriter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/backgroundwriter.c b/tools/backgroundwriter.c index 6b7c8ff4..d9fd17a2 100644 --- a/tools/backgroundwriter.c +++ b/tools/backgroundwriter.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: backgroundwriter.c,v 1.18 2009-07-24 18:11:20 phintuka Exp $ + * $Id: backgroundwriter.c,v 1.19 2010-03-12 22:40:17 phintuka Exp $ * */ @@ -260,6 +260,7 @@ int cTcpWriter::Put(uint64_t StreamPos, stream_tcp_header_t header; header.pos = htonull(StreamPos); header.len = htonl(DataCount); + header.stream = 0; return Put((uchar*)&header, sizeof(header), Data, DataCount); } -- cgit v1.2.3