Skip to content

Commit ca100ea

Browse files
committed
Fix crash using echo_pillar effect on image with alpha
1 parent 6d8fbea commit ca100ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/core/filter_pillar_echo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static void bilinear_scale_rgba(mlt_image src, mlt_image dst, mlt_rect rect)
271271
desc.rect.h = rect.h * sourceAr / destAr;
272272
desc.rect.y = rect.y + (rect.h - desc.rect.h) / 2.0;
273273
}
274-
if (src->format == mlt_image_rgb) {
274+
if (src->format == mlt_image_rgb || src->format == mlt_image_rgba) {
275275
mlt_slices_run_normal(0, scale_sliced_proc_rgba32, &desc);
276276
} else {
277277
mlt_slices_run_normal(0, scale_sliced_proc_rgba64, &desc);

0 commit comments

Comments
 (0)