Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-31 10:14:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-31 10:15:45 +0300
commit88477fe2bfebbc148dfe022dd574cc111b89210e (patch)
treebe299280f9ae99520aa69ee72a514161ed1f8055 /source
parent7a702ba1d53587a324e45b4138ef27f0afcabd68 (diff)
Fix T47094: Crash w/ sequencer white-balance
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/seqmodifier.c2
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);