Browse Source

TT#14008 fix logic test for SSRC substitution

Change-Id: Ib2d05229caf0bb6cba5ca38f3dcb53b55cb00d46
pull/1457/head
Richard Fuchs 4 years ago
parent
commit
866d3da355
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kernel-module/xt_RTPENGINE.c

+ 1
- 1
kernel-module/xt_RTPENGINE.c View File

@ -4654,7 +4654,7 @@ no_intercept:
if (rtp2.ok) {
// SSRC substitution
if (g->target.transcoding && o->output.ssrc_out && ssrc_idx != -1)
if (g->target.transcoding && ssrc_idx != -1 && o->output.ssrc_out[ssrc_idx])
rtp2.header->ssrc = o->output.ssrc_out[ssrc_idx];
pkt_idx = packet_index(&o->encrypt, &o->output.encrypt, rtp2.header, ssrc_idx);


Loading…
Cancel
Save