diff --git a/gst/rawparse/gstrawvideoparse.c b/gst/rawparse/gstrawvideoparse.c index 20f3dcf8b0..7e3d2efee6 100644 --- a/gst/rawparse/gstrawvideoparse.c +++ b/gst/rawparse/gstrawvideoparse.c @@ -1176,7 +1176,6 @@ gst_raw_video_parse_update_info (GstRawVideoParseConfig * config) for (i = 0; i < n_planes; ++i) { gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i); if (plane_offset >= last_plane_offset) { - last_plane = i; last_plane_offset = plane_offset; } }