projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
asset drag/drop to viewers, bluebanana bug, listbox fontlist highlight
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
bluebanana
/
bluebananacolor.c
diff --git
a/cinelerra-5.1/plugins/bluebanana/bluebananacolor.c
b/cinelerra-5.1/plugins/bluebanana/bluebananacolor.c
index f770d878775053e2f266952d73091abefdada7d4..e4321b3ab7b8e697ffbaa132910ffde87c57bd55 100644
(file)
--- a/
cinelerra-5.1/plugins/bluebanana/bluebananacolor.c
+++ b/
cinelerra-5.1/plugins/bluebanana/bluebananacolor.c
@@
-281,11
+281,7
@@
static inline void RGB_to_rgbF(float *R, float *G, float *B, float *S, float F,
static inline void Aal_to_alpF(float *S, float F, float *row, int w, int bpp){
if(S){
static inline void Aal_to_alpF(float *S, float F, float *row, int w, int bpp){
if(S){
- while(w--){
- float a = *S*F;
- row[3] = a;
- row+=bpp;
- }
+ while(w--){ row[3] = *S++ * F; row+=bpp; }
}else{
float a = F;
while(w--){ row[3] = a; row+=bpp; }
}else{
float a = F;
while(w--){ row[3] = a; row+=bpp; }