diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index c59396eb28..1d20e61df3 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -4166,7 +4166,7 @@ gst_avi_demux_chain (GstPad * pad, GstBuffer * buf) if (G_UNLIKELY (avi->abort_buffering)) { avi->abort_buffering = FALSE; res = GST_FLOW_ERROR; - GST_ELEMENT_ERROR (avi, STREAM, DEMUX, NULL, ("unhandled buffer size")); + GST_ELEMENT_ERROR (avi, STREAM, DEMUX, (NULL), ("unhandled buffer size")); } return res; diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 4b8a33f98f..892be7a209 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -2097,7 +2097,7 @@ done: wav->abort_buffering = FALSE; ret = GST_FLOW_ERROR; /* sort of demux/parse error */ - GST_ELEMENT_ERROR (wav, STREAM, DEMUX, NULL, ("unhandled buffer size")); + GST_ELEMENT_ERROR (wav, STREAM, DEMUX, (NULL), ("unhandled buffer size")); } return ret;