mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-09 21:12:22 +08:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user