[vlc-devel] commit: Trivial factorization ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Feb 14 10:58:25 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 14 11:27:13 2010 +0200| [1d6f8407da07f0d0dc1c437ba31ff225711ae388] | committer: Rémi Denis-Courmont
Trivial factorization
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d6f8407da07f0d0dc1c437ba31ff225711ae388
---
src/audio_output/intf.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 331f37b..44cc169 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -171,10 +171,9 @@ int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
/* trigger callbacks */
var_TriggerCallback( p_object->p_libvlc, "volume-change");
- if ( p_aout ) var_SetBool( p_aout, "intf-change", true );
-
if ( p_aout )
{
+ var_SetBool( p_aout, "intf-change", true );
aout_unlock_volume( p_aout );
vlc_object_release( p_aout );
}
More information about the vlc-devel
mailing list