From 522ee6b78317236dcfc9b3bc3fa6413a3edc4819 Mon Sep 17 00:00:00 2001 From: eugeni Date: Fri, 29 Feb 2008 17:25:55 +0000 Subject: [PATCH] Remove unused function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26125 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mkv.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index 27a41ca52b..d115da2f1f 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -208,26 +208,6 @@ demux_mkv_find_track_by_num (mkv_demuxer_t *d, int n, int type) 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) {