[mod_spandsp] scan-build: Argument with 'nonnull' attribute passed null in udptl_rx_packet()
This commit is contained in:
parent
e4ec2e1043
commit
bb150bc486
|
@ -296,7 +296,7 @@ int udptl_rx_packet(udptl_state_t *s, const uint8_t buf[], int len)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* Save the new FEC data */
|
/* Save the new FEC data */
|
||||||
if (s->rx[x].fec_len[i])
|
if (s->rx[x].fec_len[i] && data)
|
||||||
memcpy(s->rx[x].fec[i], data, s->rx[x].fec_len[i]);
|
memcpy(s->rx[x].fec[i], data, s->rx[x].fec_len[i]);
|
||||||
#if 0
|
#if 0
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "FEC: ");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "FEC: ");
|
||||||
|
|
Loading…
Reference in New Issue