From 208e12dca2ef75b49e9ae0450f7b7b63ba25300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 24 Sep 2014 00:12:14 +0100 Subject: [PATCH] videobox: remove duplicate assignments https://bugzilla.gnome.org/show_bug.cgi?id=736897 --- gst/videobox/gstvideobox.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index bfec65af96..d09a9815d9 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -1951,9 +1951,7 @@ copy_rgb32_ayuv (guint i_alpha, GstVideoFrame * dest_frame, gint r, g, b; guint8 *dest, *src; - dest = GST_VIDEO_FRAME_PLANE_DATA (dest_frame, 0); dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0); - src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0); in_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (src_frame, 0); packed_in = (in_bpp < 4); @@ -2059,9 +2057,7 @@ copy_ayuv_rgb32 (guint i_alpha, GstVideoFrame * dest_frame, gint r, g, b; guint8 *src, *dest; - src = GST_VIDEO_FRAME_PLANE_DATA (src_frame, 0); src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0); - dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0); out_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (dest_frame, 0); packed_out = (out_bpp < 4);