Mercurial > mplayer.hg
changeset 24799:535cdc4d7804
Remove unused code and fix warning:
demux_real.c:147: warning: 'skip_str' defined but not used
author | diego |
---|---|
date | Sun, 21 Oct 2007 12:38:18 +0000 |
parents | be6d6eae6c41 |
children | 1076f50ba2d2 |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Sun Oct 21 12:18:11 2007 +0000 +++ b/libmpdemux/demux_real.c Sun Oct 21 12:38:18 2007 +0000 @@ -143,20 +143,6 @@ 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;