change NULL to (NULL) for GST_ELEMENT_ERROR
[platform/upstream/gst-plugins-good.git] / ext / flac / gstflacenc.c
index df90c44..49950ab 100644 (file)
@@ -549,7 +549,7 @@ gst_flacenc_chain (GstPad *pad, GstData *_data)
   }
 
   if (!flacenc->negotiated) {
-    GST_ELEMENT_ERROR (flacenc, CORE, NEGOTIATION, NULL,
+    GST_ELEMENT_ERROR (flacenc, CORE, NEGOTIATION, (NULL),
                       ("format wasn't negotiated before chain function"));
     return;
   }