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); } }