mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
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.
This commit is contained in:
parent
1916eecc30
commit
a11f6d4a73
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue