mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
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).
This commit is contained in:
parent
54b1c496d6
commit
f2fb132b9c
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue