From 9c868219e91c65f84ccbf6881848a263975a8d9e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 18 Jan 2009 23:04:33 +0000 Subject: Replace calls to the deprecated function av_init_random() with corresponding calls to av_random_init(). Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 79d1e3ab72..d2bdcc328e 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4485,7 +4485,7 @@ int main(int argc, char **argv) unsetenv("http_proxy"); /* Kill the http_proxy */ - av_init_random(av_gettime() + (getpid() << 16), &random_state); + av_random_init(&random_state, av_gettime() + (getpid() << 16)); memset(&sigact, 0, sizeof(sigact)); sigact.sa_handler = handle_child_exit; -- cgit v1.2.3