diff options
Diffstat (limited to 'wiretap/mpeg.c')
-rw-r--r-- | wiretap/mpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c index abe87a37fe..b8d867754c 100644 --- a/wiretap/mpeg.c +++ b/wiretap/mpeg.c @@ -209,6 +209,8 @@ mpeg_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, if (!wtap_read_packet_bytes(fh, buf, packet_size, err, err_info)) return FALSE; + phdr->rec_type = REC_TYPE_PACKET; + /* XXX - relative, not absolute, time stamps */ if (!is_random) { phdr->presence_flags = WTAP_HAS_TS; |