Commit f2fb132b authored by Benoit Fouet's avatar Benoit Fouet Committed by Tim-Philipp Müller
Browse files

sys/v4l2/gstv4l2src.c: Avoid compiler warning by initialising variable to NULL (#543259).

Original commit message from CVS:
Patch by: Benoit Fouet <benoit.fouet purplelabs com>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_negotiate):
Avoid compiler warning by initialising variable to NULL (#543259).
parent 54b1c496
2008-07-17 Tim-Philipp Müller <tim.muller at collabora co uk>
Patch by: Benoit Fouet <benoit.fouet purplelabs com>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_negotiate):
Avoid compiler warning by initialising variable to NULL (#543259).
2008-07-14 Sebastian Dröge <slomo@circular-chaos.org>
* gst/debug/gsttaginject.c: (gst_tag_inject_start):
......
......@@ -476,8 +476,7 @@ gst_v4l2src_negotiate (GstBaseSrc * basesrc)
peercaps = gst_pad_peer_get_caps (GST_BASE_SRC_PAD (basesrc));
GST_DEBUG_OBJECT (basesrc, "caps of peer: %" GST_PTR_FORMAT, peercaps);
if (peercaps && !gst_caps_is_any (peercaps)) {
GstCaps *icaps;
GstCaps *icaps = NULL;
int i;
/* Prefer the first caps we are compatible with that the peer proposed */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment