aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mpeg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-03-02 10:17:36 +0000
committerGuy Harris <guy@alum.mit.edu>2012-03-02 10:17:36 +0000
commit57839d9e4a54ece8ee2f66e4c235cb8ba4acb4da (patch)
tree0b6f336b8a7325a721f8246cb1d842ff39823872 /wiretap/mpeg.c
parent0475f292164c12f153c95e379029ba4e08675f0d (diff)
Flag mp2t file as really having only relative time stamps. Put the
comment on its own line in mpeg.c as well. svn path=/trunk/; revision=41294
Diffstat (limited to 'wiretap/mpeg.c')
-rw-r--r--wiretap/mpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c
index eedbd6ca2b..fc7f126a6e 100644
--- a/wiretap/mpeg.c
+++ b/wiretap/mpeg.c
@@ -232,7 +232,8 @@ mpeg_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
packet_size, err, err_info))
return FALSE;
wth->data_offset += packet_size;
- wth->phdr.presence_flags = WTAP_HAS_TS; /* XXX - relative, not absolute! */
+ /* XXX - relative, not absolute, time stamps */
+ wth->phdr.presence_flags = WTAP_HAS_TS;
wth->phdr.ts = ts;
wth->phdr.caplen = packet_size;
wth->phdr.len = packet_size;