# HG changeset patch # User rfelker # Date 1143737072 0 # Node ID 7f1b7f811f01ca21b1f17dbf0a85bfcf37ccb814 # Parent 3aeb079a7e7490a9811be11cc4b6f97a0a3943c7 fix constraint violation: libavformat is not allowed to modify state of caller, including rng state diff -r 3aeb079a7e74 -r 7f1b7f811f01 rtp.c --- a/rtp.c Mon Mar 27 22:22:50 2006 +0000 +++ b/rtp.c Thu Mar 30 16:44:32 2006 +0000 @@ -532,9 +532,9 @@ 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? */ s->timestamp = s->base_timestamp; - s->ssrc = random(); + s->ssrc = 0; /* FIXME: was random(), what should this be? */ s->first_packet = 1; max_packet_size = url_fget_max_packet_size(&s1->pb);