diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-18 23:07:30 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-01-18 23:07:30 +0000 |
commit | 796dff07de606bae25815a615932d162b708169d (patch) | |
tree | dc406cc2f6e182286545dee71b39852c1cd4085b /libavutil/random.c | |
parent | 9c868219e91c65f84ccbf6881848a263975a8d9e (diff) | |
download | ffmpeg-796dff07de606bae25815a615932d162b708169d.tar.gz |
Drop the deprecated av_init_random() at the next libavutil major bump.
Originally committed as revision 16683 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/random.c')
-rw-r--r-- | libavutil/random.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/random.c b/libavutil/random.c index 9b5d1123c3..2f9dd5d3a4 100644 --- a/libavutil/random.c +++ b/libavutil/random.c @@ -55,10 +55,12 @@ void av_random_init(AVRandomState *state, unsigned int seed) state->index= index; // will cause it to generate untempered numbers the first iteration } +#if LIBAVUTIL_VERSION_MAJOR < 50 void av_init_random(unsigned int seed, AVRandomState *state) { av_random_init(state, seed); } +#endif /** generate AV_RANDOM_N words at one time (which will then be tempered later) (av_random calls this; you shouldn't) */ void av_random_generate_untempered_numbers(AVRandomState *state) |