mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
xmptag: an uint value can't be <0
This commit is contained in:
parent
b91b12b639
commit
70a982e7ba
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue