From 62dce62e00d69a08da6cd8424d778d2b5c55dde6 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Sun, 27 Nov 2011 20:32:14 +0100 Subject: [PATCH] caps: fix compilation warning GST_STATIC_CAPS is missing initializer for GstMiniObject's n_weak_refs and weak_refs resulting in compilation warning (llvm-gcc -Wall) https://bugzilla.gnome.org/show_bug.cgi?id=664927 --- gst/gstcaps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstcaps.h b/gst/gstcaps.h index 4b688ab..b90139d 100644 --- a/gst/gstcaps.h +++ b/gst/gstcaps.h @@ -127,7 +127,7 @@ typedef enum { */ #define GST_STATIC_CAPS(string) \ { \ - /* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL }, \ + /* miniobject */ { { 0, 0, 0, 0, NULL, NULL, NULL, 0, NULL }, \ /* caps */ NULL }, \ /* string */ string, \ GST_PADDING_INIT \ -- 2.7.4