diff options
author | Martin Storsjö <martin@martin.st> | 2010-05-23 08:53:40 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-05-23 08:53:40 +0000 |
commit | 576fb48e6dc8c75ece42fa7ede40f19de708b3f3 (patch) | |
tree | f24887f4646860a737908f5abbc504a04f671397 /libavformat/rtpenc.c | |
parent | e1745e2f6e839a91d5e9347b6dfe7685622b9fb4 (diff) | |
download | ffmpeg-576fb48e6dc8c75ece42fa7ede40f19de708b3f3.tar.gz |
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/rtpenc.c')
-rw-r--r-- | libavformat/rtpenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 5df101eb04..3111c2b32e 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -80,10 +80,10 @@ static int rtp_write_header(AVFormatContext *s1) if (s->payload_type < 0) s->payload_type = RTP_PT_PRIVATE + (st->codec->codec_type == AVMEDIA_TYPE_AUDIO); - s->base_timestamp = ff_random_get_seed(); + s->base_timestamp = av_get_random_seed(); s->timestamp = s->base_timestamp; s->cur_timestamp = 0; - s->ssrc = ff_random_get_seed(); + s->ssrc = av_get_random_seed(); s->first_packet = 1; s->first_rtcp_ntp_time = ff_ntp_time(); if (s1->start_time_realtime) |