Browse Source

MT#55283 fix possible null dererefence

... when jitter buffer is in use

Change-Id: I7b4dbbcfd98c643394ec3c049c4d99b97c22bc10
pull/1918/head
Richard Fuchs 9 months ago
parent
commit
af0b157821
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -2042,7 +2042,7 @@ struct codec_handler *codec_handler_get(struct call_media *m, int payload_type,
out:
if (ret)
return ret;
if (MEDIA_ISSET(sink, SELECT_PT))
if (sink && MEDIA_ISSET(sink, SELECT_PT))
return &codec_handler_stub_blackhole;
if (sh && sh->attrs.transcoding)
return &codec_handler_stub_ssrc;


Loading…
Cancel
Save