Mercurial > mplayer.hg
changeset 26752:65f61607e32f
Remove unused function, fixes the warning:
libmpdemux/demux_mkv.c:2242: warning: 'demux_mkv_reverse_id' defined but not used
author | diego |
---|---|
date | Thu, 15 May 2008 21:25:41 +0000 |
parents | ba4a01eb4475 |
children | 502f04b67653 |
files | libmpdemux/demux_mkv.c |
diffstat | 1 files changed, 0 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c Thu May 15 16:11:50 2008 +0000 +++ b/libmpdemux/demux_mkv.c Thu May 15 21:25:41 2008 +0000 @@ -2233,25 +2233,6 @@ static void demux_mkv_seek (demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags); -/** \brief Given a matroska track number and type, find the id that mplayer would ask for. - * \param d The demuxer for which the subtitle id should be returned. - * \param num The matroska track number we are looking up. - * \param type The track type. - */ -static int demux_mkv_reverse_id(mkv_demuxer_t *d, int num, int type) -{ - int i, id; - - for (i=0, id=0; i < d->num_tracks; i++) - if (d->tracks[i] != NULL && d->tracks[i]->type == type) { - if (d->tracks[i]->tnum == num) - return id; - id++; - } - - return -1; -} - static int demux_mkv_open (demuxer_t *demuxer) {