Revision 2dad0dce libavformat/utils.c

View differences:

libavformat/utils.c
3108 3108
    return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
3109 3109
}
3110 3110

  
3111
#define NTP_OFFSET 2208988800ULL
3112
#define NTP_OFFSET_US (NTP_OFFSET * 1000000ULL)
3113

  
3114 3111
uint64_t ff_ntp_time(void)
3115 3112
{
3116 3113
  return (av_gettime() / 1000) * 1000 + NTP_OFFSET_US;

Also available in: Unified diff