1
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:
wm4 2014-04-16 18:49:29 +02:00
parent 49cbc174c1
commit c5613aa8a2

View File

@ -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);
}