mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
Loop counter was used inside for another loop as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10029 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9d0b5a9eaf
commit
1862e17afc
@ -295,15 +295,16 @@ static mkv_track_t *find_track_by_num(mkv_demuxer_t *d, uint32_t n,
|
||||
}
|
||||
|
||||
static int check_track_information(mkv_demuxer_t *d) {
|
||||
int i;
|
||||
int i, track_num;
|
||||
unsigned char *c;
|
||||
uint32_t u, offset, length;
|
||||
mkv_track_t *t;
|
||||
BITMAPINFOHEADER *bih;
|
||||
WAVEFORMATEX *wfe;
|
||||
|
||||
for (i = 0; i < d->num_tracks; i++) {
|
||||
t = d->tracks[i];
|
||||
for (track_num = 0; track_num < d->num_tracks; track_num++) {
|
||||
|
||||
t = d->tracks[track_num];
|
||||
switch (t->type) {
|
||||
case 'v': // video track
|
||||
if (t->codec_id == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user