changeset 26093:835f8ba52075

Remove unused function.
author eugeni
date Fri, 29 Feb 2008 17:25:55 +0000
parents 97d145792c1b
children 2b4e40be7cb0
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Fri Feb 29 17:25:54 2008 +0000
+++ b/libmpdemux/demux_mkv.c	Fri Feb 29 17:25:55 2008 +0000
@@ -208,26 +208,6 @@
   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)
 {