From 576fb48e6dc8c75ece42fa7ede40f19de708b3f3 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 23 May 2010 08:53:40 +0000 Subject: 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 --- libavformat/rtpenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/rtpenc.c') 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) -- cgit v1.2.3