From cdb0b68e2108e626a8283542893d2bb8b338b6be Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 8 Oct 2009 10:20:09 +0100 Subject: [PATCH] avi/wav: Fix some compiler warnings about incompatible pointers. --- gst/avi/gstavidemux.c | 2 +- gst/wavparse/gstwavparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;