mirror of https://github.com/mpv-player/mpv
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 */
|
/* select audio track */
|
||||||
track = NULL;
|
track = NULL;
|
||||||
if (track == NULL)
|
if (track == NULL)
|
||||||
/* search for an audio track that has the 'default' flag set */
|
/* search for an audio track that has the 'default' flag set */
|
||||||
for (i=0; i < mkv_d->num_tracks; i++)
|
for (i=0; i < mkv_d->num_tracks; i++)
|
||||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO
|
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO
|
||||||
&& mkv_d->tracks[i]->default_track)
|
&& mkv_d->tracks[i]->default_track)
|
||||||
{
|
{
|
||||||
track = mkv_d->tracks[i];
|
track = mkv_d->tracks[i];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (track == NULL)
|
if (track == NULL)
|
||||||
/* no track has the 'default' flag set */
|
/* no track has the 'default' flag set */
|
||||||
/* let's take the first audio track */
|
/* let's take the first audio track */
|
||||||
for (i=0; i < mkv_d->num_tracks; i++)
|
for (i=0; i < mkv_d->num_tracks; i++)
|
||||||
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO)
|
if (mkv_d->tracks[i]->type == MATROSKA_TRACK_AUDIO)
|
||||||
{
|
{
|
||||||
track = mkv_d->tracks[i];
|
track = mkv_d->tracks[i];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (track && demuxer->a_streams[track->tnum])
|
if (track && demuxer->a_streams[track->tnum])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue