[MPlayer-cvslog] r26784 - trunk/libmpdemux/demux_mkv.c
diego
subversion at mplayerhq.hu
Thu May 15 23:25:42 CEST 2008
Author: diego
Date: Thu May 15 23:25:41 2008
New Revision: 26784
Log:
Remove unused function, fixes the warning:
libmpdemux/demux_mkv.c:2242: warning: 'demux_mkv_reverse_id' defined but not used
Modified:
trunk/libmpdemux/demux_mkv.c
Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c (original)
+++ trunk/libmpdemux/demux_mkv.c Thu May 15 23:25:41 2008
@@ -2233,25 +2233,6 @@ demux_mkv_open_sub (demuxer_t *demuxer,
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)
{
More information about the MPlayer-cvslog
mailing list