diff --git a/ChangeLog b/ChangeLog index ef6756481c..53d50c20a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-05 Tim-Philipp Müller + + * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_prepare): + Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro. + 2006-05-04 Jan Schmidt * configure.ac: diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index e9ffe2c087..7a30aee839 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; } }