From 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 14 May 2009 03:11:35 +0400 Subject: Remove any pretense that there can be more than one AudioState --- vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnc.c') diff --git a/vnc.c b/vnc.c index b11e22ba52..ad3c1ce151 100644 --- a/vnc.c +++ b/vnc.c @@ -855,7 +855,7 @@ static void audio_add(VncState *vs) ops.destroy = audio_capture_destroy; ops.capture = audio_capture; - vs->audio_cap = AUD_add_capture(NULL, &vs->as, &ops, vs); + vs->audio_cap = AUD_add_capture(&vs->as, &ops, vs); if (!vs->audio_cap) { monitor_printf(mon, "Failed to add audio capture\n"); } -- cgit v1.2.3