diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-22 10:44:33 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-22 10:44:33 +0000 |
commit | 2b44a07af894b9ba65cca1b047a50d6aa21ec645 (patch) | |
tree | 61f2fdaa65a5f77fcc7a268200dc1d7ffc54ddf9 /wiretap/file_access.c | |
parent | d35e765ec64a2d2d3a8965883f31b22a150b087f (diff) |
From Shaun Jackman
Wiretap support to read MPEG files
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21112 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 6ba90b8206..cf2e3bf1ce 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -72,6 +72,7 @@ #include "k12.h" #include "ber.h" #include "catapult_dct2000.h" +#include "mpeg.h" /* The open_file_* routines should return: * @@ -111,6 +112,7 @@ static int (*const open_routines[])(wtap *, int *, char **) = { k12_open, catapult_dct2000_open, ber_open, + mpeg_open, /* Files that don't have magic bytes at a fixed location, * but that instead require a heuristic of some sort to * identify them. This includes the ASCII trace files that @@ -541,6 +543,9 @@ static const struct file_type_info { { "Wildpacket Ether/AiroPeek (V9)", "peek9", "*.tpc;*.apc;*.pkt;*.wpz", ".pkt", FALSE, NULL, NULL }, + /* WTAP_FILE_MPEG */ + { "MPEG", "mpeg", "*.mpeg;*.mpg;*.mp3", ".mpeg", FALSE, + NULL, NULL }, }; /* Name that should be somewhat descriptive. */ |