Browse Source

TT#14008 fix potential failed assertion

Change-Id: Ie4912bd5395802b51293d13c929a02374fa9b0f0
pull/1194/head
Richard Fuchs 5 years ago
parent
commit
5c79036f63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -3415,7 +3415,7 @@ void codec_tracker_finish(struct call_media *media, struct call_media *other_med
}
struct codec_handler *existing_handler = existing_pt ? codec_handler_get(media, existing_pt->payload_type) : NULL;
if (existing_pt && existing_handler) {
if (existing_pt && existing_handler && existing_handler->dest_pt.codec_def) {
// since this happens after we ran through the codec matchup, we must create the appropriate handler here
struct codec_handler *handler = __get_pt_handler(media, pt);
// duplicate the codec handler of the existing PT


Loading…
Cancel
Save