[MPlayer-cvslog] r24827 - trunk/libmpdemux/demux_real.c

diego subversion at mplayerhq.hu
Sun Oct 21 14:38:19 CEST 2007


Author: diego
Date: Sun Oct 21 14:38:18 2007
New Revision: 24827

Log:
Remove unused code and fix warning:
demux_real.c:147: warning: 'skip_str' defined but not used


Modified:
   trunk/libmpdemux/demux_real.c

Modified: trunk/libmpdemux/demux_real.c
==============================================================================
--- trunk/libmpdemux/demux_real.c	(original)
+++ trunk/libmpdemux/demux_real.c	Sun Oct 21 14:38:18 2007
@@ -143,20 +143,6 @@ static void get_str(int isbyte, demuxer_
     mp_msg(MSGT_DEMUX, MSGL_V, "read_str: %d bytes read\n", len);
 }
 
-static void skip_str(int isbyte, demuxer_t *demuxer)
-{
-    int len;
-
-    if (isbyte)
-	len = stream_read_char(demuxer->stream);
-    else
-	len = stream_read_word(demuxer->stream);
-
-    stream_skip(demuxer->stream, len);    
-
-    mp_msg(MSGT_DEMUX, MSGL_V, "skip_str: %d bytes skipped\n", len);
-}
-
 static void dump_index(demuxer_t *demuxer, int stream_id)
 {
     real_priv_t *priv = demuxer->priv;



More information about the MPlayer-cvslog mailing list