summaryrefslogtreecommitdiff
path: root/modules/amr/amr.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/amr/amr.c')
-rw-r--r--modules/amr/amr.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/amr/amr.c b/modules/amr/amr.c
index 3b29788..1e698d1 100644
--- a/modules/amr/amr.c
+++ b/modules/amr/amr.c
@@ -19,11 +19,6 @@
#include <baresip.h>
-#define DEBUG_MODULE "amr"
-#define DEBUG_LEVEL 5
-#include <re_dbg.h>
-
-
#ifdef VO_AMRWBENC_ENC_IF_H
#define IF2E_IF_encode E_IF_encode
#define IF2D_IF_decode D_IF_decode
@@ -215,10 +210,8 @@ static int encode_wb(struct auenc_state *st, uint8_t *buf, size_t *len,
return ENOMEM;
n = IF2E_IF_encode(st->enc, 8, sampv, buf, 0);
- if (n <= 0) {
- DEBUG_WARNING("encode error: %d\n", n);
+ if (n <= 0)
return EPROTO;
- }
*len = n;