summaryrefslogtreecommitdiff
path: root/libavfilter/parseutils.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-11-10 23:37:12 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-11-10 23:37:12 +0000
commit6ed3bace9708fad6a656a187a3b182bba21006fa (patch)
tree1a3e2609f08a7ea661a139c8a8968836a649b2dc /libavfilter/parseutils.h
parent119a34f716e7a403d2718ac84c1249a68336554e (diff)
drop support for base-10 encoded alpha component in av_parse_color()
Originally committed as revision 25719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/parseutils.h')
-rw-r--r--libavfilter/parseutils.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavfilter/parseutils.h b/libavfilter/parseutils.h
index c9b6e46c9f..e1bd552bd4 100644
--- a/libavfilter/parseutils.h
+++ b/libavfilter/parseutils.h
@@ -35,11 +35,10 @@
* possibly followed by "@" and a string representing the alpha
* component.
* The alpha component may be a string composed by "0x" followed by an
- * hexadecimal number or a base-10 number between 0 and 255, or a
- * decimal number between 0.0 and 1.0, which represents the opacity
- * value (0/0x00/0.0 means completely transparent, 255/0xff/1.0
- * completely opaque).
- * If the alpha component is not specified then 255 is assumed.
+ * hexadecimal number or a decimal number between 0.0 and 1.0, which
+ * represents the opacity value (0x00/0.0 means completely transparent,
+ * 0xff/1.0 completely opaque).
+ * If the alpha component is not specified then 0xff is assumed.
* The string "random" will result in a random color.
* @return >= 0 in case of success, a negative value in case of
* failure (for example if color_string cannot be parsed).