xmptag: an uint value can't be <0

This commit is contained in:
Stefan Kost 2011-05-23 14:00:04 +03:00
parent b91b12b639
commit 70a982e7ba

View file

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