git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed shape display formatting.
[swftools.git]
/
lib
/
modules
/
swfbits.c
diff --git
a/lib/modules/swfbits.c
b/lib/modules/swfbits.c
index
b92b06b
..
11aac11
100644
(file)
--- a/
lib/modules/swfbits.c
+++ b/
lib/modules/swfbits.c
@@
-332,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 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 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;
line[x].r = r;
line[x].g = g;
line[x].b = b;