]> git.sesse.net Git - vlc/blobdiff - src/audio_output/mixer.c
Lock order fix
[vlc] / src / audio_output / mixer.c
index 502833e30c09dc7f1843f7d961ff48eea6bc3499..b4b2c26dd0e9bed7d31aff916864a05b388a8812 100644 (file)
@@ -130,8 +130,8 @@ static int MixBuffer( aout_instance_t * p_aout )
     }
 
 
-    aout_lock_output_fifo( p_aout );
     aout_lock_input_fifos( p_aout );
+    aout_lock_output_fifo( p_aout );
 
     /* Retrieve the date of the next buffer. */
     exact_start_date = p_aout->output.fifo.end_date;