From b5179464f60f07a9ba34ccb08c20ac4a66a1ef87 Mon Sep 17 00:00:00 2001 From: Stefan Mititelu Date: Wed, 28 Oct 2020 14:20:55 +0200 Subject: [PATCH] Add format_cmp_f stub when transcoding is not enabled --- lib/codeclib.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/codeclib.h b/lib/codeclib.h index 94f3c0498..84513a08c 100644 --- a/lib/codeclib.h +++ b/lib/codeclib.h @@ -339,10 +339,13 @@ INLINE int decoder_event(decoder_t *dec, enum codec_event event, void *ptr) { #else +typedef int format_cmp_f(const void *, const void *); + // stubs struct codec_def_s { int dtmf; int supplemental; + format_cmp_f * const format_cmp; }; struct packet_sequencer_s { };