summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-08-19 11:57:33 +0100
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-08-19 11:57:35 +0100
commit94c5e998c2c35c43ad67e5a5c7276d3b779a10ef (patch)
treed34e5a6a07f557d95f4d819a4b32f85f0a9b66cd
parentf5d2309c5b785d61ce1e58f5778dfb52d0fe24ea (diff)
rawvideoparse: remove unused assignment
Value in last_plane will be overwritten before used, remove unused asignment. Fixes commit 91cf5ac69f9c99fe41d60f42b4174915dd135e7b CID 1371462
-rw-r--r--gst/rawparse/gstrawvideoparse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/rawparse/gstrawvideoparse.c b/gst/rawparse/gstrawvideoparse.c
index 20f3dcf8b..7e3d2efee 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;
}
}