Skip to content

Commit bccf8c0

Browse files
author
Rémi Denis-Courmont
committed
lib: fix logic inversion
1 parent 6e96d8a commit bccf8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/audio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void libvlc_audio_output_device_set( libvlc_media_player_t *mp,
268268
}
269269

270270
audio_output_t *aout = GetAOut( mp );
271-
if( aout != NULL )
271+
if( aout == NULL )
272272
return;
273273

274274
aout_DeviceSet( aout, devid );

0 commit comments

Comments
 (0)