[MPlayer-cvslog] CVS: main/libaf af.c,1.40,1.41

Guillaume Poirier CVS syncmail at mplayerhq.hu
Sat Jan 22 11:48:00 CET 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv14703/libaf

Modified Files:
	af.c 
Log Message:
Make this file compile with gcc-4.0.0:
It's syntacticly incorrect to use the "&" operand to take the address of a
variable that is declared as "register" as a register has no address.


Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- af.c	8 Jan 2005 21:34:06 -0000	1.40
+++ af.c	22 Jan 2005 10:47:58 -0000	1.41
@@ -521,7 +521,7 @@
 {
   int t = s->input.bps*s->input.nch;
   af_instance_t* af=s->first; 
-  register frac_t mul = {1,1};
+  frac_t mul = {1,1};
   // Iterate through all filters 
   do{
     af_frac_mul(&mul, &af->mul);
@@ -538,7 +538,7 @@
 {
   int t = s->input.bps*s->input.nch;
   af_instance_t* af=s->first; 
-  register frac_t mul = {1,1};
+  frac_t mul = {1,1};
   // Iterate through all filters 
   do{
     af_frac_mul(&mul, &af->mul);
@@ -562,7 +562,7 @@
   int in  = 0;
   int out = 0;
   af_instance_t* af=s->first; 
-  register frac_t mul = {1,1};
+  frac_t mul = {1,1};
   // Iterate through all filters and calculate total multiplication factor
   do{
     af_frac_mul(&mul, &af->mul);




More information about the MPlayer-cvslog mailing list