[vlc-commits] pulse: fix NDEBUG-only warning

Rémi Denis-Courmont git at videolan.org
Wed Apr 24 18:08:56 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 24 19:06:41 2013 +0300| [19200d56d7e7542b3a46fea5735ae38819c71024] | committer: Rémi Denis-Courmont

pulse: fix NDEBUG-only warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19200d56d7e7542b3a46fea5735ae38819c71024
---

 modules/audio_output/pulse.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index b9061c6..531c193 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -188,10 +188,9 @@ static void sink_info_cb(pa_context *c, const pa_sink_info *i, int eol,
 /*** Latency management and lip synchronization ***/
 static void stream_start_now(pa_stream *s, audio_output_t *aout)
 {
-    aout_sys_t *sys = aout->sys;
     pa_operation *op;
 
-    assert (sys->trigger == NULL);
+    assert (aout->sys->trigger == NULL);
 
     op = pa_stream_cork(s, 0, NULL, NULL);
     if (op != NULL)



More information about the vlc-commits mailing list