aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtmpt.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-23Fix some duplicate display filter names.Chris Maynard1-2/+2
svn path=/trunk/; revision=40669
2012-01-16The frame number is an unsigned integer, so there's no guarantee that itGuy Harris1-3/+3
won't equal (guint32)-1. Fortunately, frame numbers are 1-based, so there *is* a guarantee that it won't equal 0. svn path=/trunk/; revision=40544
2011-12-15Conform indentation to that specified by the modeline; Reformat long lines.Bill Meier1-723/+789
svn path=/trunk/; revision=40212
2011-12-15Fix some tvb memory leaks; Fix a typo.Bill Meier1-4/+4
svn path=/trunk/; revision=40211
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-1/+1
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-27/+27
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-8/+8
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|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-09-21Fix vi "modeline" so it works;Bill Meier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39074
2011-07-18Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-6/+0
svn path=/trunk/; revision=38095
2011-05-20Don't assign to a proto_item* if the value won't be used:Bill Meier1-5/+4
Fixes Coverity 903,935,968,985,997,999,1024,1025,1134; Remove unneeded #includes; Do whitespace cleanup. svn path=/trunk/; revision=37331
2011-02-25From Herbert Oppmann: Fix "RTMP dissector unknown audio codec"Bill Meier1-5/+12
" The [...] variable rtmpt_audio_codecs should be enhanced. According to [Flash Developer's Guide] 10 = HE-AAC and 11 = Speex are missing. There is also [Adobe "RTMP Specification V1.0] which additionally lists 3 = INTEL (not used), 7 = G711A, 8 = G711U and 9 = NellyMoser 16kHz. " From me: All but 'Intel (not used)' added to the list of audio codecs svn path=/trunk/; revision=36073
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-10-30From John Sullivan:Jaap Keuter1-604/+1863
Improve RTMP dissection: * Handle multi-byte csids * Handle extended timestamps * Better timestamp defaulting/calculations * Dechunking should now cope with any clean high quality capture without error (still loses sync on missing/out of order packets, but that's very hard to deal with) * Dissect tunnelled RTMPT * Dissect more packet types * Dissect more AMF0 data types * Dissect audio/video control information * Use official packet/type names * Several new fields * Function call/response frame linking * Push several useful bits of data up the dissection tree or into the info column for ease of use svn path=/trunk/; revision=34720
2010-05-13As suggested in ↵Jeff Morriss1-14/+10
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2010-04-06#include <string.h> not needed.Bill Meier1-2/+0
svn path=/trunk/; revision=32410
2009-11-09Conversation is unused in dissect_rtmpt_tcp().Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=30905
2009-10-25From Jakub Zawadzki:Anders Broman1-16/+8
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29340
2009-07-12Make iCommand a guint8.Anders Broman1-1/+1
svn path=/trunk/; revision=29074
2009-07-12From Nick Ford:Jaap Keuter1-212/+527
Chunks handled individually rather than as complete messages which have the risk of being fragmented and unrecognizable. Added FLV data type. Allow simultaneous RTMP streams to be handled independently. svn path=/trunk/; revision=29069
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-1/+1
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(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-08FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).Bill Meier1-1/+1
svn path=/trunk/; revision=28317
2009-03-23Removed some "initializer does not fit or is out of range" warnings.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=27826
2008-08-26#include <emem.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26091
2008-03-13Partial fix for bug 2153Jaap Keuter1-1/+1
AMF object ID is in the lower 6 bits of the octet svn path=/trunk/; revision=24619
2008-03-12Fix for bug 2344:Jaap Keuter1-6/+6
AMF number if a double, not a uint16. svn path=/trunk/; revision=24612
2007-12-17From metatech:Stephen Fisher1-0/+517
New dissector for RTMP(T) protocol via bug #2078 svn path=/trunk/; revision=23902