videodecoder: Remove dead assignment

structure is never used afterwards
This commit is contained in:
Edward Hervey 2018-12-17 09:10:36 +01:00 committed by Edward Hervey
parent 66ad2c3d40
commit 3519b39131

View file

@ -1067,7 +1067,6 @@ gst_video_decoder_negotiate_default_caps (GstVideoDecoder * decoder)
1, 1, NULL);
}
caps = gst_caps_fixate (caps);
structure = gst_caps_get_structure (caps, 0);
if (!caps || !gst_video_info_from_caps (&info, caps))
goto caps_error;