History

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

Martin Storsjö committed 16 years ago

Commit 576fb481 parent e1745e28 files · +18 −8Browse files

Showing the changes to libavfilter (1 of 8 files). Show all

Unified · Split

libavfilter/parseutils.c+1−1
@@ -218,7 +218,7 @@ static int color_table_compare(const void *lhs, const void *rhs) · 217 unmodified lines
218218 int av_parse_color(uint8_t *rgba_color, const char *color_string, void *log_ctx)
219219 {
220220 if (!strcasecmp(color_string, "random") || !strcasecmp(color_string, "bikeshed")) {
221− int rgba = ff_random_get_seed();
221+ int rgba = av_get_random_seed();
222222 rgba_color[0] = rgba >> 24;
223223 rgba_color[1] = rgba >> 16;
224224 rgba_color[2] = rgba >> 8;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t