aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wiretap/mpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c
index f0704b52ad..745dadfb56 100644
--- a/wiretap/mpeg.c
+++ b/wiretap/mpeg.c
@@ -170,8 +170,9 @@ mpeg_read_packet(wtap *wth, FILE_T fh, wtap_rec *rec, Buffer *buf,
rec->rec_type = REC_TYPE_PACKET;
- /* XXX - relative, not absolute, time stamps */
+ rec->presence_flags = 0; /* we may or may not have a time stamp */
if (!is_random) {
+ /* XXX - relative, not absolute, time stamps */
rec->presence_flags = WTAP_HAS_TS;
rec->ts = ts;
}