configure.ac: fix compilation of v4l2src with "-Wall -Werror" fixes #142664
authorStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 17 May 2004 16:58:24 +0000 (16:58 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Mon, 17 May 2004 16:58:24 +0000 (16:58 +0000)
Original commit message from CVS:
* configure.ac : fix compilation of v4l2src with "-Wall -Werror"
fixes #142664

ChangeLog
configure.ac

index 2127db8..54fff9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-17  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
+
+       * configure.ac : fix compilation of v4l2src with "-Wall -Werror"
+         fixes #142664
+
 2004-05-17  Benjamin Otte  <otte@gnome.org>
 
        * ext/mad/gstid3tag.c: (gst_id3_tag_chain):
index fb968f2..e9ba371 100644 (file)
@@ -645,6 +645,7 @@ return 0;
 #include <linux/videodev2.h>
     ],[
 struct v4l2_buffer buf;
+buf.index = 0;
 return 0;
     ], [ AC_MSG_RESULT(yes) ], [ MISSING_DECL=1 && AC_MSG_RESULT(no) ])
     if [ test x$MISSING_DECL = x1 ]; then