From 70a982e7ba7bd298ae12afbbaeeac983af9346d1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 23 May 2011 14:00:04 +0300 Subject: [PATCH] xmptag: an uint value can't be <0 --- gst-libs/gst/tag/gstxmptag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index a85ccf47fb..3a331f6f04 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -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;