Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 21192: /trunk/wiretap/ /trunk/wiretap/: mpeg.c wtap-int.

Date: Sun, 25 Mar 2007 22:07:41 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21192

User: guy
Date: 2007/03/25 10:07 PM

Log:
 All private data for a capture in a Wiretap module must be per-file, not
 static to the module.
 
 Add the older(?) ID tag for MPEG audio.
 
 Just use the ID at the beginning to identify MPEG audio files; don't
 check the file any further.
 
 If the read of the magic number doesn't work, get the error, and, if
 there is no error (i.e., it's a short read), just return 0 (meaning "no
 error, but this isn't that type of file).
 
 Similarly, if the magic number doesn't match, just return 0, so other
 types of file are tried.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +31 -51    mpeg.c        Modified
  +7 -1      wtap-int.h    Modified