changeset 29797:92abe9f73079

Simplify: use &= instead of a = b & a;
author reimar
date Fri, 06 Nov 2009 16:06:33 +0000
parents 75a6843dbae0
children 93289dea4d15
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Nov 06 16:04:39 2009 +0000
+++ b/mplayer.c	Fri Nov 06 16:06:33 2009 +0000
@@ -564,7 +564,7 @@
 #endif
 
 void uninit_player(unsigned int mask){
-  mask=initialized_flags&mask;
+  mask &= initialized_flags;
 
   mp_msg(MSGT_CPLAYER,MSGL_DBG2,"\n*** uninit(0x%X)\n",mask);