Ethereal-dev: RE: [Ethereal-dev] RTP Graph analysis

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

From: "Alejandro Vaquero" <alejandrovaquero@xxxxxxxxx>
Date: Tue, 5 Oct 2004 16:49:51 -0600

> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-
> bounces@xxxxxxxxxxxx] On Behalf Of Guy Harris
> Sent: Tuesday, October 05, 2004 2:54 AM
> To: Ethereal development
> Subject: Re: [Ethereal-dev] RTP Graph analysis
> 
> Alejandro Vaquero wrote:
> 
> > 	Both gcc warnings fixed.
> 
> I checked in the fix to the "unused parameter" warning - as you sent
it
> as a patch to the code that didn't have your changes, I had to do that
> by checking out the version before I checked in your changes, and
> applying the patch to that, which was a bit of extra work.
> 
> I fixed the old warning differently - instead of having an end-of-list
> entry, I just had it compute the number of elements in the array with
> the standard "sizeof array / sizeof array[0]" C trick, and had the
loop
> iterate over the elements from 0 to "# of elements - 1".
> 
> That raises the question of what the RTP analysis code should do if
the
> sampling rate for the payload type isn't known - should
> "rtp_packet_analyse()" just ignore the packet in that case?

Yes, I think we should ignore it since we can not make the calculations.


> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev