diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-18 23:04:33 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-18 23:04:33 +0000 |
commit | 9c868219e91c65f84ccbf6881848a263975a8d9e (patch) | |
tree | 0d85f84a49745563b6cd91ca4ea6d6375c9803fc /ffserver.c | |
parent | 199436b952c198e14d53a389438e232ef60f1982 (diff) | |
download | ffmpeg-9c868219e91c65f84ccbf6881848a263975a8d9e.tar.gz |
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
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |