From: Anthony Minessale Date: Sat, 4 Mar 2017 00:10:40 +0000 (-0600) Subject: FS-10050: [core] chromakey X-Git-Tag: v1.8.0~781 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776bf7995a051792a4b4c0bf932480d451b5fef0;p=thirdparty%2Ffreeswitch.git FS-10050: [core] chromakey --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index c47056ef29..1924c13b99 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -384,7 +384,7 @@ SWITCH_DECLARE(void) switch_img_patch_rgb(switch_image_t *IMG, switch_image_t *i src_argb1 += src_stride_argb1; dst_argb += dst_stride_argb; } - ARGBUnattenuate(src_argb0, src_stride_argb0, src_argb0, src_stride_argb0, img->d_w, img->d_h); + ARGBUnattenuate(img->planes[SWITCH_PLANE_PACKED], src_stride_argb0, img->planes[SWITCH_PLANE_PACKED], src_stride_argb0, img->d_w, img->d_h); } }