aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpeg-audio.c
AgeCommit message (Collapse)AuthorFilesLines
2016-10-26mpeg-audio: fix spelling typo found by lintianAlexis La Goutte1-1/+1
Change-Id: Ie4f5db3f3f07388d3a6194839e33c939dbc0e92d Reviewed-on: https://code.wireshark.org/review/18487 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-12/+12
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
2016-02-09mpeg-audio: do not put bitrate and sampling rate in source and destination ↵Pascal Quantin1-8/+6
columns Instead append them to info column. Bug: 12099 Change-Id: I5451530af2f6cbef519ed541562bffae73e2b1f1 Reviewed-on: https://code.wireshark.org/review/13841 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-08Revert "Add free_address_wmem() and other extensions to address API"João Valverde1-2/+2
This reverts commit 13ec77a9fc3af3b0b502820d0b55796c89997896. This commit introduces a segmentation fault for Lua code (uncovered by the test suite). Change-Id: Ibc273d1915cda9632697b9f138f0ae104d3fb65e Reviewed-on: https://code.wireshark.org/review/13813 Reviewed-by: João Valverde <j@v6e.pt>
2016-02-07Add free_address_wmem() and other extensions to address APIJoão Valverde1-2/+2
Try to improve 'address' API (to be easier/safer) and also avoid some constness warnings by not overloading the 'data' pointer to store malloc'ed buffers (use private pointer for that instead). Change-Id: I7456516b12c67620ceadac447907c12f5905bd49 Reviewed-on: https://code.wireshark.org/review/13463 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2015-10-22Use address functions instead of ADDRESS macros in asn1 and epanGerald Combs1-2/+2
Replace CMP_ADDRESS, COPY_ADDRESS, et al with their lower-case equivalents in the asn1 and epan directories. Change-Id: I4043b0931d4353d60cffbd829e30269eb8d08cf4 Reviewed-on: https://code.wireshark.org/review/11200 Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-07-17Remove all preferences related to enabling/disabling heuristic dissectors.Michael Mann1-1/+1
The preferences are still supported for backwards compatibility, but the heuristic_protos file has final say on the "preference" to enable/disable a heuristic dissector. Also add parameter to heur_dissector_add() for the "default" enable/disable of a heuristic dissector. With this parameter, a few more (presumably weak) heuristic dissectors have been "registered" but of course default to being disabled. Change-Id: I51bebb2146ef3fbb8418d4f5c7f2cb2b58003a22 Reviewed-on: https://code.wireshark.org/review/9610 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-07-12Add "user presentable" and "unique string ids" to heuristic table entries.Michael Mann1-1/+1
This allows better presentation of heuristic dissectors to the end user. Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6 Reviewed-on: https://code.wireshark.org/review/9602 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-7/+5
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-02-26Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate ↵Bill Meier1-1/+1
dissectors. Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-7/+5
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-08- Forward declaration of register functions.Anders Broman1-2/+5
svn path=/trunk/; revision=53859
2013-11-17Add a way to retrieve a PER variable bit string lengthPascal Quantin1-1/+1
svn path=/trunk/; revision=53382
2013-07-06Fix display filter errors caught by checkfiltername.plMichael Mann1-2/+2
svn path=/trunk/; revision=50399
2013-06-14Remove check_col() from ASN.1 dissectorsMichael Mann1-10/+6
svn path=/trunk/; revision=49927
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=45110
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-08-24match display filter prefix for all filtersMichael Mann1-3/+3
svn path=/trunk/; revision=44653
2012-07-17Use G_MININT32 instead of -2^31 so as to get rid of 'this decimal constant ↵Pascal Quantin1-2/+2
is unsigned only in ISO C90' warning svn path=/trunk/; revision=43764
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-13Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=40465
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-3/+3
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39263
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-11/+11
svn path=/trunk/; revision=37118
2010-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-6/+6
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few more of the ASN.1 dissectorsJeff Morriss1-22/+22
svn path=/trunk/; revision=32744
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-7/+5
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-6/+5
svn path=/trunk/; revision=32405
2010-01-17Get rid of check_col();Anders Broman1-10/+7
svn path=/trunk/; revision=31552
2010-01-03Use proto_mpeg_audio for protocol tree item.Stig Bjørlykke1-7/+3
svn path=/trunk/; revision=31419
2009-10-09Regenerate asn1 dissectors (no change, only some line offset changes)Kovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=30454
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29340
2009-06-26Re-generate asn1 dissectors after hf_register_info cleanup.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=28848
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-11/+11
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28379
2009-03-29More size_t casts.Anders Broman1-2/+2
svn path=/trunk/; revision=27882
2009-01-28#include prefs.h not req'dBill Meier1-6/+5
svn path=/trunk/; revision=27322
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-1/+1
svn path=/trunk/; revision=26670
2008-05-20Create a new "Wireshark utility" library and move the mpeg-audio stuff fromJeff Morriss1-6/+6
wiretap to this new libwsutil. This solves http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark no longer depend on libwiretap. svn path=/trunk/; revision=25330
2007-11-26Get rid of the global data structures populated by wiretap/mpeg-audio butJeff Morriss1-6/+6
used by the mpeg-audio dissector: instead keep the data inside the wiretap module and add accessor functions. I think this should fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 and anyway it's cleaner. svn path=/trunk/; revision=23612
2007-10-29asn2wrsTomas Kukosa1-6/+6
- parameterized object class assignment - octet string with extensible size constraint - RELATIVE-OID type (still not supported in packet-per/ber) packet-per - octet string with extensible size constraint more dissect_per_... functions exported from libwireshark.dll PER dissectors regenerated add forgotten packet-h323-template.h fix svn properties for h323 files svn path=/trunk/; revision=23309
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-1/+1
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-05-06Start introducing actx to ber functions.Anders Broman1-6/+6
svn path=/trunk/; revision=21705
2007-05-01Split out common asn1 stuff to asn1.h and include that where needed.Anders Broman1-0/+1
svn path=/trunk/; revision=21635
2007-03-25Before we've decided to dissect a frame, don't fetch any data beforeGuy Harris1-51/+43
checking to make sure it's available. Don't dissect an audio frame if it doesn't have a valid version or layer value. Don't do anything with the columns until we've decided to accept a frame. The register routines are only called once; we don't have to check whether they've already been called. svn path=/trunk/; revision=21186
2007-03-22From Shaun JRonnie Sahlberg1-0/+722
Dissectors for MPEG streams svn path=/trunk/; revision=21114