fix for missing NULL check in BKE_sequence_init_colorspace().
This commit is contained in:
@@ -3967,13 +3967,13 @@ void BKE_sequence_init_colorspace(Sequence *seq)
|
|||||||
/* byte images are default to straight alpha, however sequencer
|
/* byte images are default to straight alpha, however sequencer
|
||||||
* works in premul space, so mark strip to be premultiplied first
|
* works in premul space, so mark strip to be premultiplied first
|
||||||
*/
|
*/
|
||||||
if (!ibuf->rect_float)
|
seq->alpha_mode = SEQ_ALPHA_PREMUL;
|
||||||
seq->alpha_mode = SEQ_ALPHA_STRAIGHT;
|
if (ibuf) {
|
||||||
else
|
if (ibuf->rect_float) {
|
||||||
seq->alpha_mode = SEQ_ALPHA_PREMUL;
|
seq->alpha_mode = SEQ_ALPHA_PREMUL;
|
||||||
|
}
|
||||||
if (ibuf)
|
|
||||||
IMB_freeImBuf(ibuf);
|
IMB_freeImBuf(ibuf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user