summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2002-10-22 04:23:19 +0000
committerStephen Torri <storri@users.sourceforge.net>2002-10-22 04:23:19 +0000
commitee978ac64152820b5b838469ee2a50c69b662dbc (patch)
treeb4d32423aab2936bb776793572347ae61873cb88
parent366def363571acc871146ed0a1718e3454186479 (diff)
downloadxine-lib-ee978ac64152820b5b838469ee2a50c69b662dbc.tar.gz
xine-lib-ee978ac64152820b5b838469ee2a50c69b662dbc.tar.bz2
Changed non standard comment (//).
Compiler warnings to be fixed: demux_asf.c: In function `demux_asf_send_headers': demux_asf.c:1272: warning: implicit declaration of function `strdup' demux_asf.c:1272: warning: assignment makes pointer from integer without a castdemux_asf.c:1274: warning: assignment makes pointer from integer without a castdemux_asf.c:1276: warning: assignment makes pointer from integer without a castdemux_asf.c: In function `open_plugin': demux_asf.c:1453: warning: implicit declaration of function `strncasecmp' demux_asf.c: In function `demux_asf_send_headers': demux_asf.c:1226: warning: `bitrate' might be used uninitialized in this function CVS patchset: 2905 CVS date: 2002/10/22 04:23:19
-rw-r--r--src/demuxers/demux_asf.c4
-rw-r--r--src/demuxers/demux_mpeg_block.c12
2 files changed, 9 insertions, 7 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 75b89d098..c11ce79a8 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_asf.c,v 1.67 2002/10/21 20:27:53 tmattern Exp $
+ * $Id: demux_asf.c,v 1.68 2002/10/22 04:23:19 storri Exp $
*
* demultiplexer for asf streams
*
@@ -512,7 +512,7 @@ static int asf_read_header (demux_asf_t *this) {
this->streams[this->num_streams].defrag = 1;
} else
this->streams[this->num_streams].defrag = 0;
- //
+
#ifdef LOG
printf ("demux_asf: found a_stream id=%d \n", stream_id);
#endif
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c
index a8775a8f4..67b9ac765 100644
--- a/src/demuxers/demux_mpeg_block.c
+++ b/src/demuxers/demux_mpeg_block.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpeg_block.c,v 1.121 2002/10/18 12:28:10 jcdutton Exp $
+ * $Id: demux_mpeg_block.c,v 1.122 2002/10/22 04:23:19 storri Exp $
*
* demultiplexer for mpeg 1/2 program streams
*
@@ -1118,8 +1118,10 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
this = xine_xmalloc (sizeof (demux_mpeg_block_t));
this->stream = stream;
this->input = input;
-// this->config = xine->config;
-// this->xine = xine;
+/*
+ this->config = xine->config;
+ this->xine = xine;
+*/
this->demux_plugin.send_headers = demux_mpeg_block_send_headers;
this->demux_plugin.start = demux_mpeg_block_start;
this->demux_plugin.seek = demux_mpeg_block_seek;
@@ -1129,7 +1131,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
this->demux_plugin.get_stream_length = demux_mpeg_block_get_stream_length;
this->demux_plugin.demux_class = class_gen;
-// this->demux_plugin.open = demux_mpeg_block_open; /*????*/
+/* this->demux_plugin.open = demux_mpeg_block_open; ????*/
#if 0
/* Calling register_string() configure valid mrls in configfile */
@@ -1223,7 +1225,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
free (this);
return NULL;
}
-// strncpy (this->last_mrl, input->get_mrl (input), 1024);
+/* strncpy (this->last_mrl, input->get_mrl (input), 1024); */
return &this->demux_plugin;
}