Wireshark-dev: [Wireshark-dev] [PATCH 1/2] wiretap: New MPEG file format

From: "Shaun Jackman" <sjackman@xxxxxxxxx>
Date: Thu, 15 Mar 2007 17:58:19 -0600
On 8/25/06, ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:
Can you add the GPL boilerplate to some of the files that are missing it.

Done.

Why do you create a mpeg plugin directory?
To me it looks like an normal dissector generated by asn2wrs and as
such it is not a plugin.   am i missing something?

The MPEG dissector is no longer a plugin.

The updated patch is attached!

Cheers,
Shaun

2007-03-15  Shaun Jackman  <sjackman@xxxxxxxxx>

      * wiretap/Makefile.common (NONGENERATED_C_FILES): Add mpeg.c.
      (NONGENERATED_HEADER_FILES): Add mpeg.h.
      * wiretap/file_access.c (open_routines): Add mpeg_open.
      (dump_open_table): Add mpeg.
      * wiretap/mpeg.c: New file.
      * wiretap/mpeg.h: Ditto.
      * wiretap/mpeg-audio.c: Ditto.
      * wiretap/mpeg-audio.h: Ditto.
      * wiretap/wtap.c (encap_table): Add mpeg.
      * wiretap/wtap.h (WTAP_ENCAP_MPEG, WTAP_FILE_MPEG): New.
      (WTAP_NUM_ENCAP_TYPES, WTAP_NUM_FILE_TYPES): Increase.