<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6590">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">channel.c: Fix invalid reference in conditionaled out code.<br><br>ASTERISK-27289<br><br>Change-Id: I7a415948116493050614d9f4fa91ffbe0c21ec4c<br>---<br>M main/channel.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/channel.c b/main/channel.c<br>index 3e5674a..970d813 100644<br>--- a/main/channel.c<br>+++ b/main/channel.c<br>@@ -4293,7 +4293,7 @@<br> }<br> #else<br> int jump = calc_monitor_jump((ast_channel_outsmpl(chan) - ast_channel_insmpl(chan)),<br>- ast_format_get_sample_rate(f->subclass.codec),<br>+ ast_format_get_sample_rate(f->subclass.format),<br> ast_format_get_sample_rate(ast_channel_monitor(chan)->read_stream->fmt->format));<br> if (jump - MONITOR_DELAY >= 0) {<br> if (ast_seekstream(ast_channel_monitor(chan)->read_stream, jump - f->samples, SEEK_FORCECUR) == -1) {<br>@@ -5375,7 +5375,7 @@<br> }<br> #else<br> int jump = calc_monitor_jump((ast_channel_insmpl(chan) - ast_channel_outsmpl(chan)),<br>- ast_format_get_sample_rate(f->subclass.codec),<br>+ ast_format_get_sample_rate(f->subclass.format),<br> ast_format_get_sample_rate(ast_channel_monitor(chan)->read_stream->fmt->format));<br> if (jump - MONITOR_DELAY >= 0) {<br> if (ast_seekstream(ast_channel_monitor(chan)->write_stream, jump - cur->samples, SEEK_FORCECUR) == -1) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6590">change 6590</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6590"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7a415948116493050614d9f4fa91ffbe0c21ec4c </div>
<div style="display:none"> Gerrit-Change-Number: 6590 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>