X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfbits.c;h=11aac11fa8fe8c833cb8bb0b32efcf8eb6c33302;hb=60a5f860ff33fd8372e297818edda3992bfe3f9e;hp=a687ffb6def3154330e2d4b80a142a404f0e4568;hpb=ba50f044fa8cb1504465a9795cd7865cba934e60;p=swftools.git diff --git a/lib/modules/swfbits.c b/lib/modules/swfbits.c index a687ffb..11aac11 100644 --- a/lib/modules/swfbits.c +++ b/lib/modules/swfbits.c @@ -262,7 +262,6 @@ static boolean tag_fill_input_buffer(struct jpeg_decompress_struct *cinfo) tag->data[tag->pos+1] == 0xd9 && tag->data[tag->pos+2] == 0xff && tag->data[tag->pos+3] == 0xd8) { - printf("Skip\n"); tag->pos += 4; } if(tag->pos >= tag->len) { @@ -333,9 +332,9 @@ RGBA* swf_JPEG2TagToImage(TAG*tag, int*width, int*height) int x; jpeg_read_scanlines(&cinfo,&to,1); for(x=cinfo.output_width-1;x>=0;--x) { - int b = to[x*3+0]; + int r = to[x*3+0]; int g = to[x*3+1]; - int r = to[x*3+2]; + int b = to[x*3+2]; line[x].r = r; line[x].g = g; line[x].b = b;