Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.
[metze/wireshark/wip.git] / wiretap / mpeg.c
index 7a339850632ae1640c11e18b270df76fae326812..3767978747a52324d128d3cd9b9847c1b86977bf 100644 (file)
@@ -47,7 +47,7 @@
 #define PES_VALID(n) (((n) >> 8 & 0xffffff) == PES_PREFIX)
 
 typedef struct {
-       struct wtap_nstime now;
+       nstime_t now;
        time_t t0;
 } mpeg_t;
 
@@ -100,7 +100,7 @@ mpeg_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
        guint32 n;
        int bytes_read = mpeg_read_header(wth, err, err_info, &n);
        unsigned int packet_size;
-       struct wtap_nstime ts = mpeg->now;
+       nstime_t ts = mpeg->now;
 
        if (bytes_read == -1)
                return FALSE;