]> git.sesse.net Git - vlc/commitdiff
DASH: remove unnecessary includes and other trivial fixes
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Oct 2011 05:41:49 +0000 (07:41 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 26 Oct 2011 05:43:18 +0000 (07:43 +0200)
modules/stream_filter/dash/DASHManager.cpp
modules/stream_filter/dash/DASHManager.h
modules/stream_filter/dash/dash.cpp

index 7483ca47f4f0ec7c2d4814d229aa8fb067574a1e..ef102831320fb0356593b7378d2d8dce8fb6df8f 100644 (file)
@@ -1,7 +1,7 @@
-/*
+/*****************************************************************************
  * DASHManager.cpp
  *****************************************************************************
- * Copyright (C) 2010 - 2011 Klagenfurt University
+ * Copyright © 2010 - 2011 Klagenfurt University
  *
  * Created on: Aug 10, 2010
  * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
@@ -15,7 +15,7 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public License
  * along with this program; if not, write to the Free Software
index 394d010b0497b7cc0426c92651890ad128d47306..870ce13928ee39d8de90cb7dd04fafa918f7e5bb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * DASHManager.h
  *****************************************************************************
- * Copyright (C) 2010 - 2011 Klagenfurt University
+ * Copyright © 2010 - 2011 Klagenfurt University
  *
  * Created on: Aug 10, 2010
  * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
@@ -15,7 +15,7 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public License
  * along with this program; if not, write to the Free Software
 #ifndef DASHMANAGER_H_
 #define DASHMANAGER_H_
 
-#include <stdint.h>
-#include <stddef.h>
-#include <iostream>
-
 #include "http/HTTPConnectionManager.h"
 #include "xml/Node.h"
 #include "adaptationlogic/IAdaptationLogic.h"
index f94e94e7d70e0dcb873dbbc9c186efc281def19a..36349bb852889e04f8483a8acfce2e15b804d667 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * dash.cpp: DASH module
  *****************************************************************************
- * Copyright (C) 2010 - 2011 Klagenfurt University
+ * Copyright © 2010 - 2011 Klagenfurt University
  *
  * Created on: Aug 10, 2010
  * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
@@ -15,7 +15,7 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public License
  * along with this program; if not, write to the Free Software
 # include "config.h"
 #endif
 
-#include <limits.h>
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
-#include <vlc_demux.h>
-#include <vlc_stream.h>
-#include <vlc_modules.h>
-#include <vlc_input.h>
 
 #include <errno.h>
-#include <string>
-#include <map>
-#include <fcntl.h>
-#include <iostream>
-#include <stdio.h>
 
 #include "DASHManager.h"
 #include "xml/DOMParser.h"
@@ -66,6 +55,7 @@ vlc_module_begin ()
         set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
         set_callbacks( Open, Close )
 vlc_module_end ()
+
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
@@ -82,6 +72,7 @@ static int  Read            (stream_t *p_stream, void *p_buffer, unsigned int i_
 static int  Peek            (stream_t *p_stream, const uint8_t **pp_peek, unsigned int i_peek);
 static int  Control         (stream_t *p_stream, int i_query, va_list args);
 static bool IsDash          (stream_t *p_stream, dash::xml::DOMParser *p_parser);
+
 /*****************************************************************************
  * Open:
  *****************************************************************************/