Browse Source

MT#61822 fix possible NULL dereference

Change-Id: Id06c237482d25c6a517208dea29ca1c7542265e6
(cherry picked from commit ff7d2aa686)
mr11.5
Richard Fuchs 11 months ago
parent
commit
5789600c99
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      daemon/codec.c

+ 3
- 0
daemon/codec.c View File

@ -3756,6 +3756,9 @@ static bool __ssrc_handler_decode_common(struct codec_ssrc_handler *ch, struct c
static struct ssrc_entry *__ssrc_handler_transcode_new(void *p) {
struct codec_handler *h = p;
if (!h->source_pt.codec_def || !h->dest_pt.codec_def)
return NULL;
ilogs(codec, LOG_DEBUG, "Creating SSRC transcoder from %s/%u/%i to "
"%s/%u/%i",
h->source_pt.codec_def->rtpname, h->source_pt.clock_rate,


Loading…
Cancel
Save