From ea85265659cd4886ba848218870b0d5516d47ba8 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 22 Feb 2005 18:51:15 +0000 Subject: [PATCH] some small logging changes --- avi2swf/v2swf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/avi2swf/v2swf.c b/avi2swf/v2swf.c index a536c08..616fa21 100644 --- a/avi2swf/v2swf.c +++ b/avi2swf/v2swf.c @@ -571,6 +571,11 @@ static void scaleimage(v2swf_internal_t*i) int xv,yv; int xm = (i->video->width*65536)/i->width; int ym = (i->video->height*65536)/i->height; + msg("scaling from %dx%d to %dx%d\n", + i->video->width, i->video->height, + i->width, i->height + ); + memset(i->buffer, 255, i->width*i->height*4); for(y=0,yv=0;yheight;y++,yv+=ym) { int*src = &((int*)i->vrbuffer)[(yv>>16)*i->video->width]; @@ -635,8 +640,6 @@ static int encodeoneframe(v2swf_internal_t*i) writeShowFrame(i); } - msg("scaling\n"); - scaleimage(i); msg("version is %d\n", i->version); -- 1.7.10.4