aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'frame.c')
-rwxr-xr-xframe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frame.c b/frame.c
index 9e593bfbb..9f1c3dda8 100755
--- a/frame.c
+++ b/frame.c
@@ -175,6 +175,8 @@ int ast_getformatbyname(char *name)
return AST_FORMAT_SLINEAR;
else if (!strcasecmp(name, "lpc10"))
return AST_FORMAT_LPC10;
+ else if (!strcasecmp(name, "adpcm"))
+ return AST_FORMAT_ADPCM;
else if (!strcasecmp(name, "all"))
return 0x7FFFFFFF;
return 0;