[MPlayer-cvslog] r25275 - trunk/codec-cfg.c

reimar subversion at mplayerhq.hu
Sun Dec 2 23:32:44 CET 2007


Author: reimar
Date: Sun Dec  2 23:32:44 2007
New Revision: 25275

Log:
Get rid of some useless extra ()


Modified:
   trunk/codec-cfg.c

Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	(original)
+++ trunk/codec-cfg.c	Sun Dec  2 23:32:44 2007
@@ -737,17 +737,17 @@ err_out_release_num:
 static void codecs_free(codecs_t* codecs,int count) {
 	int i;
 		for ( i = 0; i < count; i++)
-			if ( (codecs[i]).name ) {
-				if( (codecs[i]).name )
-					free((codecs[i]).name);
-				if( (codecs[i]).info )
-					free((codecs[i]).info);
-				if( (codecs[i]).comment )
-					free((codecs[i]).comment);
-				if( (codecs[i]).dll )
-					free((codecs[i]).dll);
-				if( (codecs[i]).drv )
-					free((codecs[i]).drv);
+			if ( codecs[i].name ) {
+				if( codecs[i].name )
+					free(codecs[i].name);
+				if( codecs[i].info )
+					free(codecs[i].info);
+				if( codecs[i].comment )
+					free(codecs[i].comment);
+				if( codecs[i].dll )
+					free(codecs[i].dll);
+				if( codecs[i].drv )
+					free(codecs[i].drv);
 			}
 		if (codecs)
 			free(codecs);



More information about the MPlayer-cvslog mailing list