diff options
-rw-r--r-- | frontend_svr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend_svr.c b/frontend_svr.c index 4552ac08..b05b4767 100644 --- a/frontend_svr.c +++ b/frontend_svr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.c,v 1.75 2009-08-05 10:46:15 phintuka Exp $ + * $Id: frontend_svr.c,v 1.76 2009-08-05 10:49:44 phintuka Exp $ * */ @@ -394,7 +394,7 @@ void cXinelibServer::SetHeader(const uchar *Data, int Length, bool Reset) } } - if (m_Header) { + if (m_Header && Data) { memcpy(m_Header + m_HeaderLength, Data, Length); m_HeaderLength += Length; } |