mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26124 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
439cfd5d9e
commit
0700038406
@ -2418,25 +2418,25 @@ demux_mkv_open (demuxer_t *demuxer)
|
||||
|
||||
/* select audio track */
|
||||
track = NULL;
|
||||
if (track == NULL)
|
||||
/* search for an audio track that has the 'default' flag set */
|
||||
for (i=0; i < mkv_d->num_tracks; i++)
|
||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO
|
||||
&& mkv_d->tracks[i]->default_track)
|
||||
{
|
||||
track = mkv_d->tracks[i];
|
||||
break;
|
||||
}
|
||||
if (track == NULL)
|
||||
/* search for an audio track that has the 'default' flag set */
|
||||
for (i=0; i < mkv_d->num_tracks; i++)
|
||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO
|
||||
&& mkv_d->tracks[i]->default_track)
|
||||
{
|
||||
track = mkv_d->tracks[i];
|
||||
break;
|
||||
}
|
||||
|
||||
if (track == NULL)
|
||||
/* no track has the 'default' flag set */
|
||||
/* let's take the first audio track */
|
||||
for (i=0; i < mkv_d->num_tracks; i++)
|
||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO)
|
||||
{
|
||||
track = mkv_d->tracks[i];
|
||||
break;
|
||||
}
|
||||
if (track == NULL)
|
||||
/* no track has the 'default' flag set */
|
||||
/* let's take the first audio track */
|
||||
for (i=0; i < mkv_d->num_tracks; i++)
|
||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO)
|
||||
{
|
||||
track = mkv_d->tracks[i];
|
||||
break;
|
||||
}
|
||||
|
||||
if (track && demuxer->a_streams[track->tnum])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user