1 Apr 2006 01:34
Re: CVS: ffmpeg/libavformat rtp.c,1.24,1.25
Måns Rullgård <mru <at> inprovide.com>
2006-03-31 23:34:51 GMT
2006-03-31 23:34:51 GMT
Luca Barbato <lu_zero <at> gentoo.org> writes: > Richard Felker CVS wrote: >> Update of /cvsroot/ffmpeg/ffmpeg/libavformat >> In directory mail:/var2/tmp/cvs-serv5251 >> Modified Files: >> rtp.c Log Message: >> fix constraint violation: libavformat is not allowed to modify state of caller, including rng state >> Index: rtp.c >> =================================================================== >> RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/rtp.c,v >> retrieving revision 1.24 >> retrieving revision 1.25 >> diff -u -d -r1.24 -r1.25 >> --- rtp.c 1 Mar 2006 22:45:27 -0000 1.24 >> +++ rtp.c 30 Mar 2006 16:44:32 -0000 1.25 >> <at> <at> -532,9 +532,9 <at> <at> >> payload_type = RTP_PT_PRIVATE; /* private payload type */ >> s->payload_type = payload_type; >> - s->base_timestamp = random(); >> + s->base_timestamp = 0; /* FIXME: was random(), what should this be? */ > > random (check the rfc) > >> s->timestamp = s->base_timestamp; >> - s->ssrc = random(); >> + s->ssrc = 0; /* FIXME: was random(), what should this be? */ > > any value would fit, random warmly suggested(Continue reading)
RSS Feed