xmptag: remove late check
authorStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:07:38 +0000 (14:07 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:07:38 +0000 (14:07 +0300)
We deref the pointer two lines before already and besides this internal function
should not be called with this parameter=NULL.

gst-libs/gst/tag/gstxmptag.c

index d91ab33..920007e 100644 (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;
   }