Update of /cvsroot/freevo/freevo/lib/pyepeg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19005/lib/pyepeg
Modified Files:
epeg.c
Log Message:
fix bug dest_w/dest_h calculation
Index: epeg.c
===================================================================
RCS file: /cvsroot/freevo/freevo/lib/pyepeg/epeg.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** epeg.c 28 Oct 2004 19:35:56 -0000 1.3
--- epeg.c 18 Dec 2004 18:01:07 -0000 1.4
***************
*** 25,29 ****
if (w / dest_w > h / dest_h)
dest_h = (h * dest_w) / w;
! else if (w / dest_w < h / dest_h)
dest_w = (w * dest_h) / h;
} else {
--- 25,29 ----
if (w / dest_w > h / dest_h)
dest_h = (h * dest_w) / w;
! else
dest_w = (w * dest_h) / h;
} else {
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog