[MPlayer-cvslog] r25035 - trunk/libao2/ao_macosx.c

ulion subversion at mplayerhq.hu
Tue Nov 13 16:08:17 CET 2007


Author: ulion
Date: Tue Nov 13 16:08:17 2007
New Revision: 25035

Log:
Remove an useless conditional suggested by Emanuele Giaquinta.


Modified:
   trunk/libao2/ao_macosx.c

Modified: trunk/libao2/ao_macosx.c
==============================================================================
--- trunk/libao2/ao_macosx.c	(original)
+++ trunk/libao2/ao_macosx.c	Tue Nov 13 16:08:17 2007
@@ -445,7 +445,6 @@ int b_alive;
     }
 
 	/* original analog output code */
-	if (!aoIsCreated) {
 	desc.componentType = kAudioUnitType_Output;
 	desc.componentSubType = kAudioUnitSubType_DefaultOutput;
 	desc.componentManufacturer = kAudioUnitManufacturer_Apple;
@@ -470,7 +469,6 @@ int b_alive;
 		ao_msg(MSGT_AO, MSGL_WARN, "Unable to initialize Output Unit component: [%4.4s]\n", (char *)&err);
 		return CONTROL_FALSE;
 	}
-	}
 
 	size =  sizeof(AudioStreamBasicDescription);
 	err = AudioUnitSetProperty(ao->theOutputUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, &inDesc, size);



More information about the MPlayer-cvslog mailing list