diff options
author | wm4 <wm4@nowhere> | 2014-04-16 18:49:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-17 01:43:07 +0200 |
commit | c5613aa8a20c4d9b58e0ea8f0318f29600c85f5a (patch) | |
tree | 7c4af8cffeb544d49d7affdddb9c4625dd6c9d70 /audio | |
parent | 49cbc174c1e5ef4240e56fbc5665ef9909fa5d4f (diff) | |
download | mpv-c5613aa8a20c4d9b58e0ea8f0318f29600c85f5a.tar.bz2 mpv-c5613aa8a20c4d9b58e0ea8f0318f29600c85f5a.tar.xz |
ao: remove redundant get_delay check
It did nothing; the real check is in push.c.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 32eff86ff0..55fcac1a24 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -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); } |