summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/http.c7
-rw-r--r--tools/http.h5
2 files changed, 2 insertions, 10 deletions
diff --git a/tools/http.c b/tools/http.c
index cc3d17c6..6ea9c837 100644
--- a/tools/http.c
+++ b/tools/http.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: http.c,v 1.1 2007-01-01 00:07:55 phintuka Exp $
+ * $Id: http.c,v 1.2 2007-01-07 05:25:03 phintuka Exp $
*
*/
@@ -136,8 +136,6 @@ static const char *mimetype(const char *ext)
// cHttpStreamer
//
-#include "backgroundwriter.h"
-
cList<cHttpStreamer> cHttpStreamer::m_Streamers;
void cHttpStreamer::CloseAll(bool OnlyFinished)
@@ -176,7 +174,6 @@ cHttpStreamer::cHttpStreamer(int fd_http, const char *filename, const char *Rang
CloseAll(true);
- m_Writer = new cBackgroundWriter(fd_http, KILOBYTE(128), true);
m_Streamers.Add(this);
if(m_Streamers.Count() > 5) {
@@ -197,8 +194,6 @@ cHttpStreamer::cHttpStreamer(int fd_http, const char *filename, const char *Rang
cHttpStreamer::~cHttpStreamer()
{
Cancel(3);
- if(m_Writer)
- delete m_Writer;
if(m_ConnState)
delete m_ConnState;
if(m_fdf >= 0)
diff --git a/tools/http.h b/tools/http.h
index aaf172d6..5a220e8b 100644
--- a/tools/http.h
+++ b/tools/http.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: http.h,v 1.2 2007-01-01 23:41:02 phintuka Exp $
+ * $Id: http.h,v 1.3 2007-01-07 05:22:33 phintuka Exp $
*
*/
@@ -96,8 +96,6 @@ class cConnState : public cHttpReq
// cHttpStreamer
//
-class cBackgroundWriter;
-
#include <vdr/tools.h>
#include <vdr/thread.h>
@@ -122,7 +120,6 @@ class cHttpStreamer : protected cListObject, cThread
int64_t m_Start;
int64_t m_End;
- cBackgroundWriter *m_Writer;
cConnState *m_ConnState;
bool m_Finished;