Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9e74966b3f
Cosmetics: merge "} else" and "if (...) {" lines, less confusing.
...
Originally committed as revision 23837 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4cf0b43ac9
Reindent after the last commit.
...
Originally committed as revision 23836 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a52e2c3a46
Extend color syntax, make it accept an alpha component specifier.
...
Originally committed as revision 23835 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8e094dd667
Rename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
...
byte for the alpha component, as it is never used, clarify the code
and prevent bad usage of it.
Originally committed as revision 23834 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
5ba949fe90
Add missing check to av_get_token().
...
Originally committed as revision 23594 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
Keep an old ff_ named function for binary compatibility until the
next major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
dc0eaef318
Make av_parse_color() return AVERROR(EINVAL) rather than -1.
...
Originally committed as revision 23120 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
62096b99b1
Make parse_key_value_pair() print an error message if a key is not
...
found in the context.
Originally committed as revision 20779 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7d132c544b
Use an unsigned int to contain all the color values of the expressions
...
of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int
was resulting in unexpected results as the most significant bit was
used for the sign.
Originally committed as revision 20778 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
cec8e5f76a
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
...
color.
Originally committed as revision 18868 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c1ec75b576
Implement av_set_options_string().
...
Originally committed as revision 18832 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
3d3bd64db8
Add support in av_parse_color() to a "random" color name, which will
...
result in a randomly choosen random color, as it is with the
"bikeshed" color.
Originally committed as revision 18828 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b69b622c22
Make case insensitive the match for the color name in
...
av_parse_color().
Originally committed as revision 18827 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
4fa61d1e98
Accept "bikeshed" as a random color.
...
Originally committed as revision 18758 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a3015225c7
Implement av_parse_color().
...
Originally committed as revision 18748 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2e032b32df
Prefer (void) over () in function prototype.
...
Originally committed as revision 18727 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d11dbf092c
av_get_token()
...
based on a patch by Stefano Sabatini
Originally committed as revision 18725 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago