mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04: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)
|
||||
found = tr;
|
||||
}
|
||||
if (found == NULL ||
|
||||
tr_avail(found) == 0)
|
||||
if (found == NULL)
|
||||
return 0;
|
||||
|
||||
ev->track = found->id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue