mirror of https://github.com/mpv-player/mpv
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.
|
// this correctly.
|
||||||
double ao_get_delay(struct ao *ao)
|
double ao_get_delay(struct ao *ao)
|
||||||
{
|
{
|
||||||
if (!ao->api->get_delay) {
|
|
||||||
assert(ao->untimed);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
return ao->api->get_delay(ao);
|
return ao->api->get_delay(ao);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue