aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpeg-descriptor.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-20Remove init of proto variablesStig Bjørlykke1-438/+438
Remove init of proto, header field, expert info and subtree variables. This will reduces the binary size by approximate 1266320 bytes due to using .bss to zero-initialize the fields. The conversion is done using the tools/convert-proto-init.py script.
2023-09-15Check whether value_string labels spuriously differ in capitalisationMartin Mathieson1-2/+2
2023-06-27Fix more full item masks that should not be.Martin Mathieson1-2/+2
2023-04-17Fix errors seen with check_typed_item_calls.pyMartin Mathieson1-6/+22
2022-11-22Fix some issues seen with cppcheckMartin Mathieson1-1/+0
2022-10-26MPEG2 Descriptors: Validate ASCII stringsJoão Valverde1-32/+31
Fixes #18536.
2022-10-21mpeg-descriptor: Ensure language code is valid UTF-8John Thacker1-5/+2
Use tvb_get_string_enc to get the 3 character language code when adding to the subtree. Fix #18523
2022-02-26mpeg descriptor: add FTA Content Management Descriptor (0x7E)Roman Volkov1-0/+63
2022-02-20mpeg descriptor: add TVA ID Descriptor (0x75)Roman Volkov1-0/+65
2022-02-19mpeg descriptor: fix Content Identifier Descriptor (0x76)Roman Volkov1-1/+1
There is a wrong tag (0x77 instead of 0x76) in a description comment in packet-mpeg-descriptor.c.
2022-02-19mpeg descriptor: add PDC Descriptor (0x69)Roman Volkov1-0/+67
2022-02-15Tools: Fix fix-encoding-args.pl ASCII string validationJoão Valverde1-25/+25
Do not require a useless ENC_NA parameter for string encodings. FT_STRING and FT_STRINGZ types don't have any ndianness. Follow-up to 6ec429622c9258eefd388caf21ce92ab5b9f54b4.
2022-02-13mpeg descriptor: add Short Smoothing Buffer Descriptor (0x61)Roman Volkov1-0/+117
2022-02-13mpeg descriptor: add XAIT Content Location Descriptor (0x7D)Roman Volkov1-0/+54
2022-02-12mpeg descriptor: add Time Shifted Event Descriptor (0x4F)Roman Volkov1-0/+27
2022-02-12mpeg descriptor: add Service Identifier Descriptor (0x71)Roman Volkov1-0/+19
2022-02-07mpeg descriptor: add Service Availability Descriptor (0x72)Roman Volkov1-0/+57
2022-01-31mpeg_descriptor: add Telephone Descriptor (0x57)Roman Volkov1-0/+189
2022-01-31mpeg_descriptor: add NVOD Reference Descriptor (0x4B)Roman Volkov1-0/+52
2022-01-30mpeg descriptor: add Mosaic Descriptor (0x51)Roman Volkov1-0/+249
2022-01-30mpeg descriptor: add Time Shifted Service Descriptor (0x4C)Roman Volkov1-0/+18
2022-01-30mpeg descriptor: add Country Availability Descriptor (0x49)Roman Volkov1-0/+57
2022-01-11mpeg descriptor: complete Registration Descriptor (0x05) ID listRoman Volkov1-0/+10
A fix. Add first ten registered IDs.
2022-01-06mpeg descriptor: add Partial Transport Stream Descriptor (0x63)Roman Volkov1-0/+77
2022-01-04mpeg descriptor: add multilingual ones (5B,5C,5D,5E)Roman Volkov1-0/+432
Add Multilingual Network Name Descriptor (0x5B), Multilingual Bouquet Name Descriptor (0x5C), Multilingual Service Name Descriptor (0x5D), Multilingual Component Descriptor (0x5E).
2022-01-04mpeg descriptor: add NorDig Logical Channel Descriptor v1 and v2Roman Volkov1-0/+242
Add as a usual DVB descriptors. A specification was taken from NorDig Unified Requirements 3.1.2. Formally, private descriptors have to be used after Private Data Specifier (0x5F) but DVB operators often ignore this rule. So I didn't limit the descriptors parsing by Nordig private data specifier (0x00000029).
2022-01-03mpeg descriptor: update Registration Descriptor (0x05)Roman Volkov1-1/+190
The descriptor contains a registered MPEG TS Identifier. Which full des- cription may be found at https://smpte-ra.org/registered-mpeg-ts-ids. I added displaying of a readable MPEG TS identifier and an organization name.
2022-01-01mpeg descriptor: update 0x50 to DVB BlueBook A038r14Roman Volkov1-11/+12
2022-01-01mpeg descriptor: update 0x48 to DVB BlueBook A038r14Roman Volkov1-1/+2
2021-12-22mpeg-descriptor: Add support for official DVB 8K HEVC streamsRoman Volkov1-19/+279
2021-12-22Corrects repeated words throughout the code.Moshe Kaplan1-1/+1
Repeated words were found with: egrep "(\b[a-zA-Z]+) +\1\b" . -Ir and then manually reviewed. Non-displayed strings (e.g., in comments) were also corrected, to ease future review.
2021-12-03epan: Remove STR_ASCII and STR_UNICODEJoão Valverde1-5/+5
These display bases work to replace unprintable characters so the name is a misnomer. In addition they are the same option and this display behaviour is not something that is configurable. This does not affect encodings because all our internal text strings need to be valid UTF-8 and the source encoding is specified using ENC_*. Remove the assertion for valid UTF-8 in proto.c because tvb_get_*_string() must return a valid UTF-8 string, always, and we don't need to assert that, it is expensive.
2020-11-14Fix a few more item lengths.Martin Mathieson1-1/+1
2020-08-29Fix more spelling errors in dissector strings.Martin Mathieson1-5/+5
A second batch of spelling errors, detected using a script that uses pyspellcheck and a Wireshark-specific dictionary file. I will take at least one more pass through the dissectors, as further improvements are made to the script.
2019-07-26HTTPS (almost) everywhere.Guy Harris1-1/+1
Change all wireshark.org URLs to use https. Fix some broken links while we're at it. Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c Reviewed-on: https://code.wireshark.org/review/34089 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-02-12dissectors: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-02mpeg descriptor: dissect ac3 system a: Respect descriptor lengthMarius Paliga1-0/+14
Bug: 13939 Change-Id: I3fbbbb4e806e0732c2d11a7fd5048528c5f6f328 Reviewed-on: https://code.wireshark.org/review/22923 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-01-29Bugfix MPEG descriptor Logon Initialize Descriptor tag.Michael Mann1-53/+65
Do length checks in case not all fields are present to prevent malformed packets. Bug: 13237 Change-Id: Ie7cc3006fa33f1dedeffb09a4f35adb8dee8e9f6 Ping-Bug: 13238 Reviewed-on: https://code.wireshark.org/review/19390 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-12-13Adjust proto_tree_add_[float|double]_format_value calls to use unit stringMichael Mann1-6/+6
Several calls to proto_tree_add_[float|double]_xxx could be better served using BASE_UNIT_STRING with a "unit string" in hf_ field. Added a few more "common" unit string values to unit_strings.[ch] Change-Id: Id0da7b579403898d20c2667d6c4abcd59d5a48d4 Reviewed-on: https://code.wireshark.org/review/19241 Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-08-11Add support for PMT parsing of ATSC A/52 Audio stream type and AC-3 descriptorDevin Heitmueller1-0/+300
The ATSC A/52 specification introduces a new PMT stream type, as well as a new descriptor if the A/52 stream contains AC-3 audio. Add dissection for both. Change-Id: I859c76cc4fc6550c72711f00582e6bfa12607fa2 Reviewed-on: https://code.wireshark.org/review/16679 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-08Fix a lot of typos and misspellingsmoshekaplan1-4/+4
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3 Reviewed-on: https://code.wireshark.org/review/13069 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.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>
2014-12-28The symbol rate in the Cable Delivery System Descriptor is in Mega-Symbols/sMartin Kaiser1-1/+1
Change-Id: I1446500f1c5c89b8ed94c04b04bb6985ae827731 Reviewed-on: https://code.wireshark.org/review/6095 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-3/+2
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-13Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...Bill Meier1-1/+1
(for some dissectors which fetch all other integral fields using ENC_BIG_ENDIAN). Change-Id: Ic18e3172aad76af12b12d6732c88497be22aed56 Reviewed-on: https://code.wireshark.org/review/5748 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-18Fix encoding-arg mostly for FT_UINT_STRING; Also: Do misc as needed.Bill Meier1-3/+2
Misc: (as needed) - Add editor modelines; - Adjust whitespace. Change-Id: I0e5d877a2a6273842ad8e771ac0c0acbfcb83200 Reviewed-on: https://code.wireshark.org/review/4173 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-21add component descriptor values for HEVC servicesMartin Kaiser1-0/+6
Change-Id: I28e55dc95a55ad80aa2ce59ab6c5d495d8eb7d99 Reviewed-on: https://code.wireshark.org/review/3779 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-08-21add service type for HEVC digital television serviceMartin Kaiser1-0/+1
Change-Id: I9aab67250d9fe7dc83243b55bbc2cb964c140e46 Reviewed-on: https://code.wireshark.org/review/3778 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-08-14Eliminate proto_tree_add_text from some dissectors.Michael Mann1-3/+10
Other minor cleanup while in the neighborhood. Change-Id: If73a029f564219782c313d4154c24c7ce7458b52 Reviewed-on: https://code.wireshark.org/review/3574 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-07-04convert to proto_tree_add_subtree[_format]Michael Mann1-20/+13
Change-Id: I621f2e2cad9403449cb78f45302388f0c874d3bc Reviewed-on: https://code.wireshark.org/review/2852 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-05-31do a plausibility check for interaction channel dataMartin Kaiser1-1/+7
in the linkage descriptor Change-Id: I7ebca539076b2b881e82fd6baec5bb223e778a52 Reviewed-on: https://code.wireshark.org/review/1896 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>