diff options
author | phintuka <phintuka> | 2010-03-12 22:40:17 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-03-12 22:40:17 +0000 |
commit | 7d4617a7a28fbeff73078d1fa55fd66ad6dc546c (patch) | |
tree | d20fda144fac7bfb431c9983702ff3118b3b7d95 | |
parent | 0a94bc76ace2ad4d556f2435bb411bc3a19ab7f8 (diff) | |
download | xineliboutput-7d4617a7a28fbeff73078d1fa55fd66ad6dc546c.tar.gz xineliboutput-7d4617a7a28fbeff73078d1fa55fd66ad6dc546c.tar.bz2 |
init stream_tcp_header_t::stream to 0
-rw-r--r-- | tools/backgroundwriter.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |