TT#14008 fix no-transcoding compilation

fix for 206ea9efd5

closes #1537

Change-Id: Ie5312334931c6e4e057e0097347998d47f2524b6
(cherry picked from commit 02adda7846)
mr10.5.2
Richard Fuchs 3 years ago
parent 82b91bb2d1
commit 1d866fd22c

@ -1048,6 +1048,7 @@ static void call_ng_codec_flags(struct sdp_ng_flags *out, str *key, bencode_item
#endif
ilog(LOG_WARN, "Unknown 'codec' operation encountered: '" STR_FORMAT "'", STR_FMT(key));
}
#ifdef WITH_TRANSCODING
static void call_ng_parse_block_mode(str *s, enum block_dtmf_mode *output) {
switch (__csh_lookup(s)) {
case CSH_LOOKUP("off"):
@ -1077,6 +1078,7 @@ static void call_ng_parse_block_mode(str *s, enum block_dtmf_mode *output) {
STR_FMT(s));
}
}
#endif
static void call_ng_main_flags(struct sdp_ng_flags *out, str *key, bencode_item_t *value) {
str s = STR_NULL;
bencode_item_t *it;

@ -17,7 +17,9 @@
#include "timerthread.h"
#include "log_funcs.h"
#include "mqtt.h"
#ifdef WITH_TRANSCODING
#include "fix_frame_channel_layout.h"
#endif

@ -16,7 +16,9 @@
#include "log_funcs.h"
#include "main.h"
#include "rtcp.h"
#ifdef WITH_TRANSCODING
#include "fix_frame_channel_layout.h"
#endif

@ -34,10 +34,11 @@ $(DAEMONSRCS) $(HASHSRCS): $(patsubst %,../daemon/%,$(DAEMONSRCS)) $(patsubst %,
--release="$(RTPENGINE_VERSION)" \
$< $@
resample.c media_player.c codec.c codeclib.c mix.c: fix_frame_channel_layout.h
resample.c codeclib.c mix.c: fix_frame_channel_layout.h
ifeq ($(with_transcoding),yes)
codec.c: dtmf_rx_fillin.h
media_player.c codec.c: fix_frame_channel_layout.h
endif
t38.c: spandsp_logging.h

Loading…
Cancel
Save