projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91b12b
)
xmptag: an uint value can't be <0
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 23 May 2011 11:00:04 +0000
(14:00 +0300)
committer
Stefan Kost
<ensonic@users.sf.net>
Mon, 23 May 2011 11:00:04 +0000
(14:00 +0300)
gst-libs/gst/tag/gstxmptag.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/gstxmptag.c
b/gst-libs/gst/tag/gstxmptag.c
index
a85ccf4
..
3a331f6
100644
(file)
--- 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;