summaryrefslogtreecommitdiff
path: root/libavformat/httpauth.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-05-23 08:53:40 +0000
committerMartin Storsjö <martin@martin.st>2010-05-23 08:53:40 +0000
commit576fb48e6dc8c75ece42fa7ede40f19de708b3f3 (patch)
treef24887f4646860a737908f5abbc504a04f671397 /libavformat/httpauth.c
parente1745e2f6e839a91d5e9347b6dfe7685622b9fb4 (diff)
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. Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/httpauth.c')
-rw-r--r--libavformat/httpauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c
index cef27569a8..abdee81dec 100644
--- a/libavformat/httpauth.c
+++ b/libavformat/httpauth.c
@@ -200,7 +200,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username,
/* 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;