Skip to content

Commit 8a9af08

Browse files
committed
Check null image_effect in mltofx_allows_frame_threading
1 parent 70342c0 commit 8a9af08

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/modules/openfx/mlt_openfx.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,6 +2208,9 @@ static void mltofx_get_render_scale(mlt_properties image_effect, double *scale_x
22082208

22092209
int mltofx_allows_frame_threading(mlt_properties image_effect)
22102210
{
2211+
if (!image_effect)
2212+
return 0;
2213+
22112214
mlt_properties props = mlt_properties_get_properties(image_effect, "props");
22122215
if (!props)
22132216
return 0;

0 commit comments

Comments
 (0)