mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
midifile: remove impossible case.
This commit is contained in:
parent
d1beeeade0
commit
84b048507b
1 changed files with 1 additions and 2 deletions
|
|
@ -306,8 +306,7 @@ static int peek_next(struct midi_file *mf, struct midi_event *ev)
|
||||||
if (found == NULL || tr->tick < found->tick)
|
if (found == NULL || tr->tick < found->tick)
|
||||||
found = tr;
|
found = tr;
|
||||||
}
|
}
|
||||||
if (found == NULL ||
|
if (found == NULL)
|
||||||
tr_avail(found) == 0)
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
ev->track = found->id;
|
ev->track = found->id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue