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:
Stefan Kost 2011-05-23 14:07:38 +03:00
parent f466c5e1ca
commit a2d622ab03

View file

@ -1073,7 +1073,7 @@ read_one_tag (GstTagList * list, XmpTag * xmptag,
g_return_if_fail (tag != NULL);
if (xmptag && xmptag->deserialize) {
if (xmptag->deserialize) {
xmptag->deserialize (xmptag, list, tag, xmptag->tag_name, v, pending_tags);
return;
}