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
@ -608,7 +608,6 @@ gst_riff_parse_info (GstElement * element,
|
|||||||
GstTagList *taglist;
|
GstTagList *taglist;
|
||||||
|
|
||||||
g_return_if_fail (_taglist != NULL);
|
g_return_if_fail (_taglist != NULL);
|
||||||
g_return_if_fail (buf != NULL);
|
|
||||||
|
|
||||||
if (!buf) {
|
if (!buf) {
|
||||||
*_taglist = NULL;
|
*_taglist = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user