Commit 70a982e7 authored by Stefan Kost's avatar Stefan Kost

xmptag: an uint value can't be <0

parent b91b12b6
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment