diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-29 17:25:55 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-29 17:25:55 +0000 |
commit | 522ee6b78317236dcfc9b3bc3fa6413a3edc4819 (patch) | |
tree | bb73295de3abe4c589078064aad239ed2103906d /libmpdemux | |
parent | 07000384061155d7cecf2f312f98dece61d4cbdd (diff) |
Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_mkv.c | 20 |
1 files changed, 0 insertions, 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) { |