Revision b1d55e5e libavformat/rtpenc.c

View differences:

libavformat/rtpenc.c
86 86
    s->ssrc = 0; /* FIXME: was random(), what should this be? */
87 87
    s->first_packet = 1;
88 88
    s->first_rtcp_ntp_time = ff_ntp_time();
89
    if (s1->start_time_realtime)
90
        /* Round the NTP time to whole milliseconds. */
91
        s->first_rtcp_ntp_time = (s1->start_time_realtime / 1000) * 1000 +
92
                                 NTP_OFFSET_US;
89 93

  
90 94
    max_packet_size = url_fget_max_packet_size(s1->pb);
91 95
    if (max_packet_size <= 12)

Also available in: Unified diff