[MPlayer-cvslog] CVS: main/libaf af_resample.c,1.21,1.22

Alex Beregszaszi syncmail at mplayerhq.hu
Sun Dec 19 17:56:14 CET 2004


CVS change done by Alex Beregszaszi

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

Modified Files:
	af_resample.c 
Log Message:
10l

Index: af_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_resample.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- af_resample.c	10 Oct 2004 14:20:42 -0000	1.21
+++ af_resample.c	19 Dec 2004 16:56:12 -0000	1.22
@@ -142,7 +142,7 @@
       (data->format != (AF_FORMAT_NE | AF_FORMAT_F))) || 
      ((s->setup & RSMP_MASK) == RSMP_LIN)){
     s->setup = (s->setup & ~RSMP_MASK) | RSMP_LIN;
-    af->data->format = AF_FORMAT_NE | AF_FORMAT_SI;
+    af->data->format = AF_FORMAT_NE | AF_FORMAT_I | AF_FORMAT_SI;
     af->data->bps    = 2;
     af_msg(AF_MSG_VERBOSE,"[resample] Using linear interpolation. \n");
   }
@@ -157,7 +157,7 @@
     }
     else{
       s->setup = (s->setup & ~RSMP_MASK) | RSMP_INT;
-      af->data->format = AF_FORMAT_NE | AF_FORMAT_SI;
+      af->data->format = AF_FORMAT_NE | AF_FORMAT_I | AF_FORMAT_SI;
       af->data->bps    = 2;
     }
     af_msg(AF_MSG_VERBOSE,"[resample] Using %s processing and %s frequecy"




More information about the MPlayer-cvslog mailing list