diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-31 10:14:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-31 10:15:45 +0300 |
commit | 88477fe2bfebbc148dfe022dd574cc111b89210e (patch) | |
tree | be299280f9ae99520aa69ee72a514161ed1f8055 | |
parent | 7a702ba1d53587a324e45b4138ef27f0afcabd68 (diff) |
Fix T47094: Crash w/ sequencer white-balance
-rw-r--r-- | source/blender/blenkernel/intern/seqmodifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/seqmodifier.c b/source/blender/blenkernel/intern/seqmodifier.c index e7a252b7f1f..4365579da1a 100644 --- a/source/blender/blenkernel/intern/seqmodifier.c +++ b/source/blender/blenkernel/intern/seqmodifier.c @@ -203,7 +203,7 @@ static void whiteBalance_apply_threaded(int width, int height, unsigned char *re for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { int pixel_index = (y * width + x) * 4; - float result[3], mask[3] = {1.0f, 1.0f, 1.0f}; + float result[4], mask[3] = {1.0f, 1.0f, 1.0f}; if (rect_float) { copy_v3_v3(result, rect_float + pixel_index); |