Commit bccf8c00 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lib: fix logic inversion

parent 6e96d8a9
......@@ -268,7 +268,7 @@ void libvlc_audio_output_device_set( libvlc_media_player_t *mp,
}
audio_output_t *aout = GetAOut( mp );
if( aout != NULL )
if( aout == NULL )
return;
aout_DeviceSet( aout, devid );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment