mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
Remove unused code and fix warning:
demux_real.c:147: warning: 'skip_str' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24827 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9bdc074496
commit
db06490509
@ -143,20 +143,6 @@ static void get_str(int isbyte, demuxer_t *demuxer, char *buf, int buf_size)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user