Browse Source

suggest solution for 2 fixmies

Originally committed as revision 5415 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
ac2750ec79
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/rtp.c

+ 1
- 0
libavformat/rtp.c View File

@@ -532,6 +532,7 @@ static int rtp_write_header(AVFormatContext *s1)
payload_type = RTP_PT_PRIVATE; /* private payload type */
s->payload_type = payload_type;

// following 2 FIXMies could be set based on the current time, theres normaly no info leak, as rtp will likely be transmitted immedeatly
s->base_timestamp = 0; /* FIXME: was random(), what should this be? */
s->timestamp = s->base_timestamp;
s->ssrc = 0; /* FIXME: was random(), what should this be? */


Loading…
Cancel
Save