Mercurial > mplayer.hg
changeset 26092:97d145792c1b
Reindent.
author | eugeni |
---|---|
date | Fri, 29 Feb 2008 17:25:54 +0000 |
parents | 8732f2107b56 |
children | 835f8ba52075 |
files | libmpdemux/demux_mkv.c |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c Fri Feb 29 17:25:52 2008 +0000 +++ b/libmpdemux/demux_mkv.c Fri Feb 29 17:25:54 2008 +0000 @@ -2418,25 +2418,25 @@ /* 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) - /* 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) + /* 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 && demuxer->a_streams[track->tnum]) {