aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mpeg.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
commit38edae1c718f690281958ff43d1154abc1c96247 (patch)
tree710d4b0220196b0b12691dc2d6d48394b9b8bc59 /wiretap/mpeg.c
parentf207c70075d66f226e0eea8f33aae6105925ea25 (diff)
Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
Diffstat (limited to 'wiretap/mpeg.c')
-rw-r--r--wiretap/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c
index 7a33985063..3767978747 100644
--- a/wiretap/mpeg.c
+++ b/wiretap/mpeg.c
@@ -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;