Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rtp.c packet-rtp.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sat, 31 Jan 2004 03:48:25 -0600 (CST)
guy         2004/01/31 03:48:25 CST

  Modified files:
    .                    packet-rtp.c packet-rtp.h 
  Log:
  Add to the _rtp_info structure a "info_all_data_present" boolean, which
  is TRUE if all the RTP raw data is present in the tvbuff and FALSE
  otherwise.  If it's not all present, also set "info_data_len" to 0 and
  "info_data" to NULL.
  
  In the RTP Analysis "Save Payload..." operation, check the
  "info_all_data_present" flag and fail if it's not set, and use
  "rtpinfo->info_data" and "rtpinfo->info_payload_offset" to get at the
  payload, rather than using "cfile.pd", as the latter doesn't necessarily
  refer to the current frame data.
  
  Note that the RTP Streams save operation should also check the
  "info_all_data_present" flag.
  
  Revision  Changes    Path
  1.44      +40 -16    ethereal/packet-rtp.c
  1.11      +2 -1      ethereal/packet-rtp.h