xmptag: remove late check
We deref the pointer two lines before already and besides this internal function should not be called with this parameter=NULL.
This commit is contained in:
parent
f466c5e1ca
commit
a2d622ab03
@ -1073,7 +1073,7 @@ read_one_tag (GstTagList * list, XmpTag * xmptag,
|
|||||||
|
|
||||||
g_return_if_fail (tag != NULL);
|
g_return_if_fail (tag != NULL);
|
||||||
|
|
||||||
if (xmptag && xmptag->deserialize) {
|
if (xmptag->deserialize) {
|
||||||
xmptag->deserialize (xmptag, list, tag, xmptag->tag_name, v, pending_tags);
|
xmptag->deserialize (xmptag, list, tag, xmptag->tag_name, v, pending_tags);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user