Skip to content
Snippets Groups Projects
Commit 2e350d6b authored by Jonathan Rose's avatar Jonathan Rose
Browse files

chan_iax2: Fix a crash that occurs when using allow=all for an IAX2 peer

Or any combination of codecs that includes Opus.

ASTERISK-24107 #close
Review: https://reviewboard.asterisk.org/r/3885/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e2d8fce2
Branches
Tags
No related merge requests found
......@@ -247,7 +247,7 @@ enum ast_format_cmp_res ast_format_cmp(const struct ast_format *format1, const s
interface = format1->interface ? format1->interface : format2->interface;
if (interface) {
if (interface && interface->format_cmp) {
return interface->format_cmp(format1, format2);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment