summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-05-05 15:50:10 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-05-05 15:50:10 +0000
commite874927200fdc5167f2cb5d0db97a6a7a2dc89bf (patch)
treeea62965de3707d48394cbec6e320e917632cc6c8 /ext
parent3959e201fe5d7ced0e2a3c8be6219425c7680b3a (diff)
downloadgst-plugins-bad-e874927200fdc5167f2cb5d0db97a6a7a2dc89bf.tar.gz
gst-plugins-bad-e874927200fdc5167f2cb5d0db97a6a7a2dc89bf.tar.bz2
gst-plugins-bad-e874927200fdc5167f2cb5d0db97a6a7a2dc89bf.zip
ext/sdl/sdlaudiosink.c: Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro.
Original commit message from CVS: * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_prepare): Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro.
Diffstat (limited to 'ext')
-rw-r--r--ext/sdl/sdlaudiosink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c
index e9ffe2c0..7a30aee8 100644
--- a/ext/sdl/sdlaudiosink.c
+++ b/ext/sdl/sdlaudiosink.c
@@ -389,19 +389,19 @@ gst_sdlaudio_sink_prepare (GstAudioSink * asink, GstRingBufferSpec * spec)
unable_open:
{
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
- ("Unable to open audio: %s", SDL_GetError ()), NULL);
+ ("Unable to open audio: %s", SDL_GetError ()), (NULL));
return FALSE;
}
wrong_format:
{
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
- ("Unable to get format %d", spec->format), NULL);
+ ("Unable to get format %d", spec->format), (NULL));
return FALSE;
}
dodgy_width:
{
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
- ("unexpected width %d", spec->width), NULL);
+ ("unexpected width %d", spec->width), (NULL));
return FALSE;
}
}