diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-18 17:09:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-18 17:10:44 +0300 |
commit | 64451f0928a82a344f596d931ec6a581b5fcf586 (patch) | |
tree | 1a1c4bc0e6860c3346811a0a7b3f5be2e065d1fc | |
parent | 9231d35caac39bf4e444cb08979859c313963a53 (diff) |
Fix for crash adding mask modifier
-rw-r--r-- | source/blender/blenkernel/intern/seqmodifier.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/seqmodifier.c b/source/blender/blenkernel/intern/seqmodifier.c index b78529f51b4..edd3d8efd55 100644 --- a/source/blender/blenkernel/intern/seqmodifier.c +++ b/source/blender/blenkernel/intern/seqmodifier.c @@ -531,15 +531,11 @@ static void maskmodifier_apply_threaded(int width, int height, unsigned char *re } } -static void maskmodifier_apply(struct SequenceModifierData *smd, ImBuf *ibuf, ImBuf *mask) +static void maskmodifier_apply(struct SequenceModifierData *UNUSED(smd), ImBuf *ibuf, ImBuf *mask) { - BrightContrastModifierData *bcmd = (BrightContrastModifierData *) smd; - BrightContrastThreadData data; - - data.bright = bcmd->bright; - data.contrast = bcmd->contrast; + // SequencerMaskModifierData *bcmd = (SequencerMaskModifierData *)smd; - modifier_apply_threaded(ibuf, mask, maskmodifier_apply_threaded, &data); + modifier_apply_threaded(ibuf, mask, maskmodifier_apply_threaded, NULL); } static SequenceModifierTypeInfo seqModifier_Mask = { |