aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmgcp/mgcp_transcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmgcp/mgcp_transcode.c')
-rw-r--r--openbsc/src/libmgcp/mgcp_transcode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/libmgcp/mgcp_transcode.c b/openbsc/src/libmgcp/mgcp_transcode.c
index aaa8863fb..6407cfb4a 100644
--- a/openbsc/src/libmgcp/mgcp_transcode.c
+++ b/openbsc/src/libmgcp/mgcp_transcode.c
@@ -33,9 +33,9 @@
#include <osmocom/netif/rtp.h>
const struct mgcp_transcoding mgcp_sw_transcoder = {
- .processing_cb = mgcp_transcoding_process_rtp,
- .setup_processing_cb = mgcp_transcoding_setup,
- .get_net_downlink_format_cb = mgcp_transcoding_net_downlink_format,
+ .process = mgcp_transcoding_process_rtp,
+ .setup = mgcp_transcoding_setup,
+ .get_net_downlink_format = mgcp_transcoding_net_downlink_format,
};
int mgcp_transcoding_get_frame_size(void *state_, int nsamples, int dst)
@@ -480,8 +480,8 @@ struct mgcp_process_rtp_state *check_transcode_state(
struct mgcp_rtp_codec tmp_codec = src_end->alt_codec;
src_end->alt_codec = src_end->codec;
src_end->codec = tmp_codec;
- trans->setup_processing_cb(endp, &endp->net_end, &endp->bts_end);
- trans->setup_processing_cb(endp, &endp->bts_end, &endp->net_end);
+ trans->setup(endp, &endp->net_end, &endp->bts_end);
+ trans->setup(endp, &endp->bts_end, &endp->net_end);
}
done: