xmptag: an uint value can't be <0
authorStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:00:04 +0000 (14:00 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 11:00:04 +0000 (14:00 +0300)
gst-libs/gst/tag/gstxmptag.c

index a85ccf4..3a331f6 100644 (file)
@@ -844,7 +844,7 @@ deserialize_xmp_rating (XmpTag * xmptag, GstTagList * taglist,
     return;
   }
 
-  if (value < 0 || value > 100) {
+  if (value > 100) {
     GST_WARNING ("Unsupported Rating tag %u (should be from 0 to 100), "
         "ignoring", value);
     return;