rawvideoparse: remove unused assignment

Value in last_plane will be overwritten before used, remove unused
asignment.

Fixes commit 91cf5ac69f
CID 1371462
This commit is contained in:
Luis de Bethencourt 2016-08-19 11:57:33 +01:00
parent 232902369c
commit 99e2745636

View file

@ -1176,7 +1176,6 @@ gst_raw_video_parse_update_info (GstRawVideoParseConfig * config)
for (i = 0; i < n_planes; ++i) { for (i = 0; i < n_planes; ++i) {
gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i); gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i);
if (plane_offset >= last_plane_offset) { if (plane_offset >= last_plane_offset) {
last_plane = i;
last_plane_offset = plane_offset; last_plane_offset = plane_offset;
} }
} }