<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">IMHO, live555 should reject SDP, or at least rtpmap, with nul clock rate as that makes no sense. Otherwise, VLC should skip those.<br class=""></div></blockquote><div><br class=""></div>FYI, should the LIVE555 library sees a SDP description with a zero (or missing) RTP timestamp frequency, it will set it to some sane non-zero value.  So VLC's code should never need to check for this.</div><div><br class=""></div><div>In particular, you can remove the test</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-family: Monaco; font-size: 12px; color: rgb(208, 60, 255);" class="">if</span><span style="font-family: Monaco; font-size: 12px;" class=""> ( tk->fmt.audio.i_rate == 0 )</span></div><div>from line 979 (the 'Speex' branch) of "live555.cpp", because that will never happen.</div><br class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>