From a11f6d4a738f08851bbc75ea3fdb4a52a50cf46a Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 25 May 2011 15:04:20 +0300 Subject: [PATCH] riff: remove the g_return_if_fail as we test it below We don't want to return without setting taglist=NULL if asserts are on and with setting taglist=NULL otherwise. --- gst-libs/gst/riff/riff-read.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index e5983be5b9..314c19fe66 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -527,7 +527,7 @@ too_small: * codec initialization data). * * Parses a interleaved (also known as "complex") streamĀ“s strf - * structure plus optionally some extradata from input data. This + * structure plus optionally some extradata from input data. This * function takes ownership of @buf. * * Returns: TRUE if parsing succeeded, otherwise FALSE. @@ -608,7 +608,6 @@ gst_riff_parse_info (GstElement * element, GstTagList *taglist; g_return_if_fail (_taglist != NULL); - g_return_if_fail (buf != NULL); if (!buf) { *_taglist = NULL;