aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h264.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-28convert to proto_tree_add_subtree[_format]Michael Mann1-8/+5
Change-Id: Ia7014003a3cff5181295172978d6c613c3b83b0b Reviewed-on: https://code.wireshark.org/review/2676 Tested-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-6/+6
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-6/+6
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-01-12Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9633 :Pascal Quantin1-2/+2
Do not try to add a new NAL unit when the previous one was not decoded svn path=/trunk/; revision=54707
2013-12-17Make local functions static. Include *.h when needed.Anders Broman1-1/+3
svn path=/trunk/; revision=54164
2013-12-15Fix [-Wmissing-prototypes]Jakub Zawadzki1-2/+3
svn path=/trunk/; revision=54135
2013-12-12Reject the packet if data is NULL. Remove _U_ where data is actually used. ↵Chris Maynard1-5/+18
For now, leave the DISSECTOR_ASSERT's since both get_rose_ctx() and get_asn1_ctx() also check signatures. (Arguably it's the responsibility of the dissector passing this information to set the signature correctly so if there's an invalid signature, the bug is with the calling dissector and not with the one receiving the invalid signature.) svn path=/trunk/; revision=53964
2013-11-03Make Mac OS X buildbot happy (Missing _U_)Alexis La Goutte1-1/+1
svn path=/trunk/; revision=53056
2013-11-03Have asn1_ctx_t passed into the "h245.gef.name" and "h245.gef.content" ↵Michael Mann1-10/+9
subdissectors instead of using pinfo->private_data. svn path=/trunk/; revision=53055
2013-10-23#if 0 numerous "unused const variables" (mostly value-string-arrays);Bill Meier1-0/+2
Also; fix a few "set but not used" warnings. svn path=/trunk/; revision=52780
2013-08-19Change some dissectors to use pinfo memory pool instead of malloc if it can ↵Pascal Quantin1-4/+3
trigger an exception between between buffer allocation and tvb_set_free_cb call svn path=/trunk/; revision=51427
2013-07-16Convert some proto_tree_add_text into proto_tree_add_expert.Michael Mann1-16/+23
svn path=/trunk/; revision=50676
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-1/+1
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-19From beroset:Anders Broman1-2/+2
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48426
2013-02-26it's ==> its & its ==> it's as needed.Bill Meier1-1/+1
svn path=/trunk/; revision=47891
2013-01-31Comment out unused hf[] entries & etc.Bill Meier1-2/+6
(found by checkhf) svn path=/trunk/; revision=47389
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-5/+5
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-16- Don't call col...() under 'if (tree)';Bill Meier1-2343/+2333
- Move proto_reg_handoff...() to the end of the file; - Remove some uneeded variable initialization; - Use consistent indentation (e.g., no 4 space tabs) and whitespace formatting. svn path=/trunk/; revision=44541
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-6/+6
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-05-11Get rid of non-ASCII character.Guy Harris1-1/+1
svn path=/trunk/; revision=42569
2012-05-11Correct wrong value in h264_level_bitrate_valuesAnders Broman1-5/+6
svn path=/trunk/; revision=42559
2012-03-22Unescape NAL unitsAnders Broman1-7/+61
Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6975 svn path=/trunk/; revision=41739
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-6/+6
- proto_tree_add_bits_item - proto_tree_add_bits_ret_val - proto_tree_add_bitmask - tvb_get_bits - tvb_get_bits16 - tvb_get_bits24 - tvb_get_bits32 - tvb_get_bits64 svn path=/trunk/; revision=39539
2011-09-27Get rid of check_col, while at it set ENC.Anders Broman1-85/+83
svn path=/trunk/; revision=39164
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-2/+0
svn path=/trunk/; revision=38413
2011-04-18Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-4/+5
svn path=/trunk/; revision=36702
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-12-06Fix various typos and spelling errors.Bill Meier1-1/+1
svn path=/trunk/; revision=35126
2010-08-11Do DISSECTOR_ASSERT_NOT_REACHED(); if golmb coded data is > 32 bits.Anders Broman1-1/+3
svn path=/trunk/; revision=33778
2010-08-11Call tvb_get_bits32() if leading_zero_bits > 16.Stig Bjørlykke1-1/+3
svn path=/trunk/; revision=33775
2010-05-16From Chidambaram Arunachalam:Jaap Keuter1-16/+28
Currently, H.264 dissector in Wireshark allows only one value for the "H264 dynamic payload type" preference value. This patch allows users to specify a value range for this parameter (96-127) so that both streams can be decoded for a video call with asymmetric rtp payload types. svn path=/trunk/; revision=32831
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-10-21Remove non-ASCII charactersJeff Morriss1-193/+193
svn path=/trunk/; revision=30656
2009-10-20Fix higlight the correct hex value and add a value_string.Anders Broman1-12/+28
svn path=/trunk/; revision=30629
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-3/+3
(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-04-09Fix two usages of non-ascii characters.Bill Meier1-2/+2
svn path=/trunk/; revision=28019
2009-03-30Handle NAL-unit start code correctly.Anders Broman1-4/+9
svn path=/trunk/; revision=27894
2009-03-29- Dissect Supplemental enhancement information (SEI).Anders Broman1-127/+317
- Use NULL instead of repeated text in blurb in hf[]; svn path=/trunk/; revision=27886
2009-01-26Start code is 24 bits, use bit_offset to read it.Anders Broman1-3/+14
svn path=/trunk/; revision=27302
2008-12-11Dissect DecoderConfiguration in h245.Anders Broman1-5/+39
svn path=/trunk/; revision=26969
2008-12-04Trivial changes related to proto_reg_handoffBill Meier1-2/+2
svn path=/trunk/; revision=26914
2008-11-11Add bitrate values to levels.Anders Broman1-3/+22
svn path=/trunk/; revision=26753
2008-11-10Bugfixes:Anders Broman1-11/+15
- Wrong item lengths. - rtsp traling bits gave"Malformed packet" if not present. - Frame_num removed as length needs info from previous packet. svn path=/trunk/; revision=26744
2008-10-25From Sebastian Stollenwerk:Jaap Keuter1-11/+68
While sniffing h264-packets with more than 8 leading zero bits they're displayed in error: fixed. If there are FU-A(28) encoded packets, you can't see them in Wireshark: upgraded. svn path=/trunk/; revision=26549
2008-09-23Trivial changes: comment and spacingBill Meier1-2/+1
svn path=/trunk/; revision=26251