[Mplayer-cvslog] CVS: main/libaf af.c,1.8,1.9
Arpi of Ize
arpi at mplayerhq.hu
Sun Oct 6 12:42:39 CEST 2002
Update of /cvsroot/mplayer/main/libaf
In directory mail:/var/tmp.root/cvs-serv23710
Modified Files:
af.c
Log Message:
10l
Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- af.c 5 Oct 2002 22:54:11 -0000 1.8
+++ af.c 6 Oct 2002 10:42:24 -0000 1.9
@@ -435,7 +435,7 @@
if(in>max_insize) in=t*(max_insize/t);
// Try to meet constraint nr 3.
- while((out=t * (((in/t+1)*mul.n - 1)/mul.d)) <= max_outsize){
+ while((out=t * (((in/t+1)*mul.n - 1)/mul.d)) <= max_outsize && in<=max_insize){
if( (t * (((in/t)*mul.n))/mul.d) >= len) return in;
in+=t;
}
More information about the MPlayer-cvslog
mailing list