mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
ao: remove redundant get_delay check
It did nothing; the real check is in push.c.
This commit is contained in:
parent
49cbc174c1
commit
c5613aa8a2
@ -274,10 +274,6 @@ int ao_control(struct ao *ao, enum aocontrol cmd, void *arg)
|
||||
// this correctly.
|
||||
double ao_get_delay(struct ao *ao)
|
||||
{
|
||||
if (!ao->api->get_delay) {
|
||||
assert(ao->untimed);
|
||||
return 0;
|
||||
}
|
||||
return ao->api->get_delay(ao);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user