summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wiretap/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c
index 186a7922de..5155433a0f 100644
--- a/wiretap/mpeg.c
+++ b/wiretap/mpeg.c
@@ -293,7 +293,7 @@ good_magic:
wth->subtype_close = mpeg_close;
wth->snapshot_length = 0;
- wth->capture.mpeg = g_malloc(sizeof(libpcap_t));
+ wth->capture.mpeg = g_malloc(sizeof(mpeg_t));
wth->capture.mpeg->now.secs = time(NULL);
wth->capture.mpeg->now.nsecs = 0;
wth->capture.mpeg->t0 = (double) wth->capture.mpeg->now.secs;