diff options
author | Martin Storsjö <martin@martin.st> | 2010-05-23 08:53:40 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-05-23 08:53:40 +0000 |
commit | 576fb48e6dc8c75ece42fa7ede40f19de708b3f3 (patch) | |
tree | f24887f4646860a737908f5abbc504a04f671397 /libavfilter/parseutils.c | |
parent | e1745e2f6e839a91d5e9347b6dfe7685622b9fb4 (diff) | |
download | ffmpeg-576fb48e6dc8c75ece42fa7ede40f19de708b3f3.tar.gz |
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
Diffstat (limited to 'libavfilter/parseutils.c')
-rw-r--r-- | libavfilter/parseutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/parseutils.c b/libavfilter/parseutils.c index 9a7eef08cd..9ac61d8073 100644 --- a/libavfilter/parseutils.c +++ b/libavfilter/parseutils.c @@ -218,7 +218,7 @@ static int color_table_compare(const void *lhs, const void *rhs) int av_parse_color(uint8_t *rgba_color, const char *color_string, void *log_ctx) { if (!strcasecmp(color_string, "random") || !strcasecmp(color_string, "bikeshed")) { - int rgba = ff_random_get_seed(); + int rgba = av_get_random_seed(); rgba_color[0] = rgba >> 24; rgba_color[1] = rgba >> 16; rgba_color[2] = rgba >> 8; |