[MPlayer-cvslog] r26125 - trunk/libmpdemux/demux_mkv.c
eugeni
subversion at mplayerhq.hu
Fri Feb 29 18:25:55 CET 2008
Author: eugeni
Date: Fri Feb 29 18:25:55 2008
New Revision: 26125
Log:
Remove unused function.
Modified:
trunk/libmpdemux/demux_mkv.c
Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c (original)
+++ trunk/libmpdemux/demux_mkv.c Fri Feb 29 18:25:55 2008
@@ -208,26 +208,6 @@ demux_mkv_find_track_by_num (mkv_demuxer
return NULL;
}
-static mkv_track_t *
-demux_mkv_find_track_by_language (mkv_demuxer_t *d, char *language, int type)
-{
- int i, len;
-
- language += strspn(language,",");
- while((len = strcspn(language,",")) > 0)
- {
- for (i=0; i < d->num_tracks; i++)
- if (d->tracks[i] != NULL && d->tracks[i]->language != NULL &&
- d->tracks[i]->type == type &&
- !strncmp(d->tracks[i]->language, language, len))
- return d->tracks[i];
- language += len;
- language += strspn(language,",");
- }
-
- return NULL;
-}
-
static void
add_cluster_position (mkv_demuxer_t *mkv_d, uint64_t position)
{
More information about the MPlayer-cvslog
mailing list