mirror of https://github.com/mpv-player/mpv
Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26125 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0700038406
commit
522ee6b783
|
@ -208,26 +208,6 @@ demux_mkv_find_track_by_num (mkv_demuxer_t *d, int n, int type)
|
||||||
return NULL;
|
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
|
static void
|
||||||
add_cluster_position (mkv_demuxer_t *mkv_d, uint64_t position)
|
add_cluster_position (mkv_demuxer_t *mkv_d, uint64_t position)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue