diff options
author | wm4 <wm4@nowhere> | 2013-06-16 22:17:25 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-16 22:19:00 +0200 |
commit | 16211268b401b637fbcde8de55236c74e5576747 (patch) | |
tree | 8f558d2c159a044e0ae4c6d7dd9dbb7679e90898 /audio | |
parent | 819a36885455961105d03de829e819e32de3948c (diff) | |
download | mpv-16211268b401b637fbcde8de55236c74e5576747.tar.bz2 mpv-16211268b401b637fbcde8de55236c74e5576747.tar.xz |
ao_dsound: fix compilation
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_dsound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao_dsound.c b/audio/out/ao_dsound.c index bb410183eb..f6e31a116c 100644 --- a/audio/out/ao_dsound.c +++ b/audio/out/ao_dsound.c @@ -639,6 +639,8 @@ static int get_space(struct ao *ao) */ static int play(struct ao *ao, void *data, int len, int flags) { + struct priv *p = ao->priv; + int space = check_free_buffer_size(ao); if (space < len) len = space; |