Mercurial > libavformat.hg
diff httpauth.c @ 6036:201152a121b5 libavformat
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.
author | mstorsjo |
---|---|
date | Sun, 23 May 2010 08:53:40 +0000 |
parents | 9f1b267a30f5 |
children | 54d3a9240339 |
line wrap: on
line diff
--- a/httpauth.c Sat May 22 21:52:06 2010 +0000 +++ b/httpauth.c Sun May 23 08:53:40 2010 +0000 @@ -200,7 +200,7 @@ /* Generate a client nonce. */ for (i = 0; i < 2; i++) - cnonce_buf[i] = ff_random_get_seed(); + cnonce_buf[i] = av_get_random_seed(); ff_data_to_hex(cnonce, (const uint8_t*) cnonce_buf, sizeof(cnonce_buf), 1); cnonce[2*sizeof(cnonce_buf)] = 0;