Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk rtp_analysis.c rtp_stream.c

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:26 -0600 (CST)
guy         2004/01/31 03:48:26 CST

  Modified files:
    gtk                  rtp_analysis.c rtp_stream.c 
  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.31      +37 -7     ethereal/gtk/rtp_analysis.c
  1.11      +3 -1      ethereal/gtk/rtp_stream.c